Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environ

tomcat启动服务

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

小伙子,来这你可来着了,不要信网上的,修改setclass文件

如果你的tomcat是从其他地方复制的 就重新下载tomcat,听我的!

原文地址:https://www.cnblogs.com/paper-man/p/13284728.html