最近重装windows以后环境真是各种乱,因为SDK被重装到D盘了。
在eclipse里启tomcat时报The JRE could not be found.Edit the server and change the JRE location的错,原因是tomcat找不到JRE了。
解决方案是进入 Windows->Preferences->Server->Runtime Environments
选Tomcat,编辑:
最近重装windows以后环境真是各种乱,因为SDK被重装到D盘了。
在eclipse里启tomcat时报The JRE could not be found.Edit the server and change the JRE location的错,原因是tomcat找不到JRE了。
解决方案是进入 Windows->Preferences->Server->Runtime Environments
选Tomcat,编辑: