分类: Java
2009-02-18 16:22:18
1.下载jdk1.6.0_01_for_linux.bin
2.sh jdk1.6.0_01_for_linux.bin (安装jdk)
3.设置环境变量
JAVA_HOME=/home3/toollib/jdk/jdk1.6.0_01 CLASSPATH=$JAVA_HOME/lib:$JAVA_HOME/jre/lib PATH=$PATH:$JAVA_HOME/bin:$JAVA_HOME/jre/bin
export PATH CLASSPATH JAVA_HOME
4.安装apache-tomcat-6.0.18.tar.gz
tar zxvf apache-tomcat-6.0.18.tar.gz
5.启动tomcat