Fedora 16下Eclipse+JDK+Tomcat开发环境
本人操作系统使用Fedora 16 x64,下载的Eclipse、JDK都是64位的。
1、预备工作,下载jdk、tomcat、eclipse、tomcatplugin,下载地址如下:
eclipse-java-indigo-SR2-linux-gtk-x86_64.tar.gz
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/indigo/SR2/eclipse-java-indigo-SR2-linux-gtk-x86_64.tar.gz&url=http://mirror.bit.edu.cn/eclipse/technology/epp/downloads/release/indigo/SR2/eclipse-java-indigo-SR2-linux-gtk-x86_64.tar.gz&mirror_id=1082
apache-tomcat-7.0.26.tar.gz
http://apache.etoak.com/tomcat/tomcat-7/v7.0.26/bin/apache-tomcat-7.0.26.tar.gz
tomcatPluginV33.zip
http://www.eclipsetotale.com/tomcatPlugin/tomcatPluginV33.zip
jdk-7u3-linux-x64.tar.gz
http://download.Oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-x64.tar.gz
2、解压eclipse-java-indigo-SR2-linux-gtk-x86_64.tar.gz、jdk-7u3-linux-x64.tar.gz、apache-tomcat-7.0.26.tar.gz到~/目录下
将tomcatPluginV33.zip解压在eclipse的plugins目录下
3、编辑~/.bashrc >
CATALINA_HOME=/home/heroking/apache-tomcat-7.0.26
CATALINA_BASE=/home/heroking/apache-tomcat-7.0.26
CATALINA_TMPDIR=//home/heroking/apache-tomcat-7.0.26/temp
JAVA_HOME=/home/heroking/jdk1.7.0_03
CLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar:$CLASSPATH
PATH=$JAVA_HOME/bin:$CATALINA_HOME/bin:$PATH
export JAVA_HOME CLASSPATH PATH
export CATALINA_HOME CATALINA_BASE CATALINA_TMPDIR
<
4、$~/eclipse/eclipse即可打开eclipse