今天电脑重装了系统,下载解压tomcat发现startup.bat打开就闪退.不知道咋回事,打开windows命令输入cmd->cd 进入到tomcat的bin目录,输入startup.exe回车. 显示: The JRE_HOME environment variable is not defined correctlyThis environment variable is needed to run this program 提示我JRE_HOME的环境变量没配,于是我把JRE的目录也配置…