tomact启动报Neither the JAVA_HOME nor the JRE_HOME environment variable is defined 我叫你baba IT技术之家 2020/4/9 13:18 1345 0 0 tomact启动报Neither the JAVA_HOME nor the JRE_HOME environment variable is defined该怎么解决,错误如下图:
解决方式:
在tomcat bin目录下setclasspath.bat的开头声明环境变量,如图所示:
注:set JAVA_HOME="jdk安装地址"
set JRE_HOME="jre安装地址"