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.

VMware10下安装Fedora7操作系统

Vmware10下安装Fedora 7操作系统 一、安装环境 1、  计算机配置 我的计算机为个人笔记本,核心部件配置为: CPU:Intel T6570 酷睿双核 2.10G 硬盘:320GB 内存...
  • JIANGXIN04211
  • JIANGXIN04211
  • 2015年08月28日 15:10
  • 889

关机时执行指定脚本

在.login中执行相应命令,或在.bashrc(用tcsh shell,在.tcshrc)里写命令。是不行的,.login是在用户登录时执行,用户可能在本地无需登录,或者在远程多个用户登录,多次登录...
  • YAJUN0601
  • YAJUN0601
  • 2016年12月29日 13:39
  • 882

linux ${}表达式详解

linux ${}表达式详解 1、参数替换 1、${var_name}等价于$var_name(通常用这种简写方式) 2、$(var:-default) 和$(var-default)      $...
  • yyyuuueeee
  • yyyuuueeee
  • 2016年08月22日 21:45
  • 2345

Linux个人发展方向的选择

我发现在学习Linux后的IT人员,选择开发要比系统应用薪水要上升的更为迅速,而且更容易突破5000、8000 或10000等每月的门槛;但是这个方向难度会更大,同时会更枯燥些,需要毅力和身体,更需要...
  • u011414997
  • u011414997
  • 2015年10月14日 22:45
  • 2358

Linux基础知识学习

一、Linux的磁盘分区及目录     Linux的配置是通过修改配置文件来完成。       1.1、Linux磁盘分区             Linux可以将磁盘分为多个分区,每个分区可以被当做...
  • ye_wei_yang
  • ye_wei_yang
  • 2016年10月10日 21:22
  • 3947

linux repo准备和代码下载

【转】linux repo准备和代码下载 from http://hi.baidu.com/lizhengjun2010/blog/item/0b84aa406f2d579eb2b7dcf7.ht...
  • rena_he
  • rena_he
  • 2014年03月05日 14:39
  • 1494

Linux网络转发和端口映射的笔记

最近研究了一下Linux平台的网络IP转发和端口映射方面的东西,作了一点笔记。在学习时,查了很多资料,有的写的不是很清楚明白,而自己对这方面了解又不多,花的时间还是不少的。...
  • subfate
  • subfate
  • 2014年10月20日 13:31
  • 3675

Linux信号入门详解

一、什么是信号? 以下是维基百科对信号的定义: 在计算机科学中,信号(英语:Signals)是Unix、类Unix以及其他POSIX兼容的操作系统中进程间通讯的一种有限制的方式。它是一...
  • lisongjia123
  • lisongjia123
  • 2016年01月06日 21:38
  • 1802

linux系统有哪些版本 linux系统哪个版本好用

l   inux最早由Linus Benedict Torvalds在1991年开始编写。在这之前,RichardStallman创建了Free SoftwareFoundation(FSF)组织以及...
  • vtopqx
  • vtopqx
  • 2013年02月22日 09:58
  • 13075

如何重装Linux系统

大家都知道我们平常所用的windows系统,可以很方便的重装系统,有U盘安装,还有光盘安装;那么我们在Linux下如何重装系统呢?其实和Windows下方法大同小异。 如果你手上正好有个U盘的话...
  • ygtlovezf
  • ygtlovezf
  • 2015年03月31日 10:18
  • 7898
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Linux(Fedora7)+JDK6+Eclipse3.2+Tomcat5.5
举报原因:
原因补充:

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