解决Linux下启动Tomcat遇到Neither the JAVA_HOME nor the JRE_HOME enviro...
解决Linux下启动Tomcat遇到Neither the JAVA_HOME nor the JRE_HOME environment variable is defined找不到JAVA_HOME路径,需要做以下变更:找到启动路径所在的目录:vi /usr/local/apache-tomcat-7.0.55/bin/catalina.sh加入以下信息:
1
2
export JAVA_HOME=/usr/local/jdk1.7.0_67
export JRE_HOME=/usr/local/jdk1.7.0_67/jre
页:
[1]