bin目录下startup.bat执行,报错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
编辑startup.bat,加入三个环境变量,jdk,jre,tomcat ,jre不能带\bin
编辑加入(以自己本机jdk及tomcat文件实际地址为准)
SET JAVA_HOME="jdk路径"
SET JRE_HOME="jre路径"
SET TOMCAT_HOME=tomcat路径