本文介绍: 解决启动tomcat时报错:Neither the JAVA_HOME nor the JRE_HOME environment variable is definedAt least one of these environment variable is needed to run this program
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环境变量都没有定义,运行此程序至少需要其中一个环境变量),分析后得知第一:startup.bat启动脚本
而catalina.bat调用了setclasspath.bat!
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。