|
profile文件:
........
JAVA_HOME="/usr/java/jdk:"
CATALINA_BASE="/usr/local/tomcat:"
CATALINA_HOME="/usr/local/tomcat:"
PATH="$PATH:/usr/java/jdk/bin:"
CLASSPATH="$CLASSPATH:./:/usr/java/jdk/lib:/usr/java/jdk/jre/lib:"
.................
export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC CLASSPATH JAVA_HOME CATALINA_BASE CATALINA_HOME
...............
重起后...
运行startup.sh:
# ./startup.sh
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
希望大家帮助. |
|