Home >Java >javaTutorial >Error when java starts Tomcat: The specified JRE installation does not exist

Error when java starts Tomcat: The specified JRE installation does not exist

无忌哥哥
无忌哥哥Original
2018-07-20 11:36:553627browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn