您的位置:首页 > 运维架构 > Tomcat

tomcat7.0以上版本运行startup的时候报Neither the JAVA_HOME nor the JRE_HOME environment variable is defined

2014-03-03 22:59 501 查看
tomcat7.0以上版本运行startup的时候报Neither the JAVA_HOME nor the JRE_HOME environment variable is defined 解决方案

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

修改D:\tomcat5.5.27\bin下的catalina.bat

加入set JAVA_HOME=C:\jdk1.6.0_18

再运行startup.bat就OK啦。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐