CentOS Tomcat启动 Neither the JAVA_HOME nor the JRE_HOME environment variable is defined

链接: http://blog.csdn.net/shangdiyisi/article/details/9477521

[bravoinfo@bravoinfo-hk-01 apache-tomcat-7.0.82]$ ./bin/startup.sh
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

解决办法

原文地址:https://www.cnblogs.com/eason-d/p/7805591.html