vi /etc/profile // 编辑 /etc/profile
在文件结尾加入:
PATH="$PATH:/usr/local/jakarta-tomcat/bin:/usr/local/jdk1.2.2/bin:/usr/local/jdk1.2.2/jre/bin"
vi /etc/profile // 编辑 /etc/profile
在文件结尾加入:
PATH="$PATH:/usr/local/jakarta-tomcat/bin:/usr/local/jdk1.2.2/bin:/usr/local/jdk1.2.2/jre/bin"
JAVA_HOME=/usr/local/jdk1.2.2
export JAVA_HOME
JRE_HOME=/usr/local/jdk1.2.2/jre
export JRE_HOME
TOMCAT_HOME=/usr/local/jakarta-tomcat
export TOMCAT_HOME
CLASSPATH=/usr/local/jdk1.2.2/lib:/usr/local/jdk1.2.2/jre/lib
export CLASSPATH
Linux85fan 于 2007-03-12 15:04:30发表:
顶顶。。:0L :0L :0L
cuilei98 于 2007-01-16 14:31:44发表:
:0L :0L
chenzhisheng 于 2007-01-14 11:16:28发表:
:0L