Linux(Fedora7)+JDK6+Eclipse3.2+Tomcat5.5

原创 2007年10月03日 19:30:00
1.First download JDK6, copy it to /usr/share/JDK6, and install it.
  NOTE: The first time I tried to install JDK6. however, in Fedora7, I failed to configure the JAVA_HOME, CLASSPATH and PATH in /etc/profile.d, and this made my system refuse to boot. So I reinstalled Fedora7. The next time I tried to install the JDK, I was afraid that the configuration of JDK would destroy my System once again, so I used “yum -y install java” and it installed the JDK5 but NOT JDK6. It's default path is /usr/lib/jvm/java-1.5.0-gcj-1.5.0.0.

2. Install the Eclipse.
  It is not actually to "install" the Eclipse, because to "install" Eclipse we just simple uncompress the file into a folder and it will work. However, in Fedora 7, I don't know why,it (Eclipse 3.3) refused to work. I search many articles via Google and Baidu and couldn't solve the problem (Even now, I don't know how to solve it yet.). So I finally forced to use "Install/Remove Programs" to install Fedora Eclipse 3.2. The default installing path is /usr/share/eclipse.


3. Install Tomcat
 We installed the Tomcat also using "Install/Remove Programs". However, when I tried to use it today, I forgot that I had installed it [ :) ], so I went to homepage of Tomcat and download both  Tomcat 5.5 and Tomcat 6. But later I found that Eclipse 3.2 didn't support Tomcat 6, so I installed Tomcat 5.5. The method to install Tomcat 5.5 is  also very simple. I just download it and uncompress it into /opt/tomcat/.

4. integrate Eclipse, Java and Tomcat.
  4.1 Java 6 in Eclipse
  Eclipse: Window --> Preferences --> Java --> installed JREs. The JDK 5 is default showed on it. Using "Add", I added the JDK 6 and pressed "OK" to finish the configuration of JDK 6 in Eclipse.
 NOTE: Tomcat didn't work when I use JDK 5. When I had a try to use JDK 6, and was very glad to find that it works. So this is very important.
  4.2 Tomcat 5.5 in Eclipse
 Eclipse: Window --> Preferences --> Server --> Installed Runtimes. Click "Add" on the board to add the Tomcat 5.5. Notice to select "JDK 6" you have installed as its JRE.
  4.3 Tomcat plugin
  The configuration of Tomcat plugin is the same as that in Windows. Download TomcatPluginV31 and uncompress it into $ECLIPSE_HOME/plugins. Restart Eclipse and three logos of Tomcat will show. Then  go to Window --> Preferences --> Server --> Tomcat and configure it. Also notice to select JDK 6 or it will take no action when you try to start it.

相关文章推荐

linux安装配置jdk1.5、tomcat5.5、eclipse3.2详解

网上关于linux下配置java开发环境的文章很多,但大都不完整。今天偶就写个完整详细的。包括安装jdk1.5,tomcat5.5,eclipse3.2到配置搭建成功。即使你什么也不懂(初级水平),只...

Linux中Java的web项目开发环境配置(JDK1.7+Tomcat7+Mysql5.5+eclipse)

一:系统环境和软件介绍 1:本操作的系统环境为:RadHat 具体信息如下: 2:JDK版本为:jdk-7-linux-i586.tar.gz 3:Tomcat版本为 :apache-tomcat-7...

linux 之体验(JDK7+Tomcat7+MySQL5.5)部署环境

----------------------------------------------------------------------------------------------------...

用axis2+Tomcat5.5+Eclipse3.2部署和访问Web服务

用axis2+Tomcat5.5+Eclipse3.2部署和访问Web服务                  一、环境准备 使用Axis来开发Web services 需要准备 web 服务器...

Struts 2.1在windows 7中的配置(Tomcat 6+JDK 6以及Eclipse )图文

8月16日   今天晚上捣鼓了一下Struts 2.1,不知道是版本问题还是什么问题,老是报404错误! 有待解决!!! 补充:9月8日,今天把这个错误(主要就是result not defi...

linux(CentOS 7)下安装JDK,tomcat,eclipse

1.安装JDK//下载地址链接: https://pan.baidu.com/s/1bps4cFH 密码: bndu//1.解压 tar -xvzf jdk-7u79-linux-x64.tar.gz...

图解]jdk1[1].6_+_MyEclipse_7.0_+_tomcat-5.5_配置JSP环境

在开始安装之前,需准备的软件:             1、jdk-1.6             2、tomcat-5.5.28             3、MyEclipse 7.0       ...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Linux(Fedora7)+JDK6+Eclipse3.2+Tomcat5.5
举报原因:
原因补充:

(最多只允许输入30个字)