启动tomcat时出现The specified JRE installation does not exist 如何解决?

背景,自己的eclipse中安装有两个server,一个是tomcat9,一个是tomcat8.5,自己一个tomcat8.5中添加这一个需要用8.5的项目,自己不想去将他remove移除掉,所以将自己的;另一个项目部署到tomcat9中

却提示:The specified JRE installation does not exist 

解决办法:

window -->preferences -->Server --> Runtime Environment -->Edit -->JRE

然后选中你要用的jre环境,保存就OK了
 
图示

当我点击tomcat9 的时候,图中1的位置,提示这个tomcat没有指定jre,而我点击tomcat

8.5就没有not jre  所以直接点击有问题的那个tomcat,之后右侧的edit按钮就可以点击了,点击编辑选择自己的jre即可,保存之后,再去运行就会解决了这个问题了

问题解决啦!

原文地址:https://www.cnblogs.com/isme-zjh/p/11796884.html