How to solve the problem that a specific JRE installation does not exist when starting tomcat?

Error starting TomCat service:

The specified JRE installation does not exist.

Solution:

eclipse:window-& gt; Preferences-> Server-> Runtime environment

Select the server and edit-> Re-election JRE