这种问题百度,GOOGLE就可以了问题:今天配置tomcat运行环境时出现了下边的问题,The CATALINA_HOME environment variable is not defined correctly This environment variable is needed to run this program然后就加上去了CATALINA_HOME环境变量,新问题出现The JAVA_HOME environment variable is not defined correctly This environment variable is needed to run this program NB: JAVA_HOME should point to a JDK not a JREJAVA_HOME 路径是肯定没错的.解决方法:JAVA_HOME改成JRE_HOMEhttp://hi.baidu.com/dfx2009/blog/item/50deec7af2260ae62f73b301.html
This environment variable is needed to run this program然后就加上去了CATALINA_HOME环境变量,新问题出现The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JREJAVA_HOME 路径是肯定没错的.解决方法:JAVA_HOME改成JRE_HOMEhttp://hi.baidu.com/dfx2009/blog/item/50deec7af2260ae62f73b301.html