Tomcat + Java

export JAVA_HOME=/usr/java/jdk1.6.0_14
export CLASSPATH=.:$JAVA_HOME/jre/lib/rt.jar:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export PATH=$PATH:$JAVA_HOME/bin

tail -3 /etc/profile

JAVA_HOME=/usr/java/jdk1.6.0_14
CLASSPATH=.:$JAVA_HOME/jre/lib/rt.jar:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
PATH=$PATH:$JAVA_HOME/bin

grep -r tomcat /etc/profile
pathmunge /usr/local/tomcat/bin

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注