At this time, first determine whether the system variable setting is wrong or the jre configuration is wrong. 'win cmd' runs and inputs java and javac
If the corresponding file information is displayed, it means that the system variables are not configured incorrectly. If the system For variable errors, you need to configure the system variables of eclipse and the path and classpath of jdk/jre in the computer's advanced settings.
When starting the TomCat service, an error message is reported:
The specified JRE installation does not exist
Solution:
Eclipse: window->perferences->server->runtime Environment
Select the server, Edit->Reselect JRE
The above is the detailed content of Error when java starts Tomcat: The specified JRE installation does not exist. For more information, please follow other related articles on the PHP Chinese website!