标签:
报错信息如下:Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run this program;提示找不到java_home各jre_home路径,何解?
[root@master bin]#vim catalina.sh
添加以下内容:
CATALINA_HOME=/home/luolizhi/apache-tomcat-8.0.35/
3、重启tomcat,敲入http://localhost:8080验证,问题解决。
标签:
原文地址:http://www.cnblogs.com/luolizhi/p/5569746.html