In the development of the environment as long as the configuration, if there is no accident, the JRE working environment is generally not a problem. The specified JRE installation does not exist the problem is that I was almost a rookie to re-install the system. I hereby bear in mind that ...
![](/uploads/1/2/7/8/127896765/322399872.jpg)
When Eclipse launches the project, it pops up a error:the specified JRE installation does not exist stunned .....
Causes: 1, the JDK environment configuration is wrong 2, Tomcat in Eclipse Runtime Environment initial path error
Solution Solutions
1. JDK Environment Configuration error: Reload JDK
1-JDK Download and install
Hi, I have had a project for a while without this exception, and it has suddenly appeared, 'specified JRE version does not exist' Where could this have come from?
configuration of environment variables for 2-JDK
First, right-click My Computer, select Properties , Advanced, environment variables
(1) Java-home Settings
Java_home points to the installation path of the JDK
Under this path you should be able to find bin,Lib and other directories
If my setting should be Java_home=d:program filesjavajavajdk1.6.0_26;
![Jre source does not exist Jre source does not exist](/uploads/1/2/7/8/127896765/690741424.png)
Legend: Create a new system variable, click ' new ', then write 'Java_home' on the variable name , and then write the path that you just installed after the variable value:D:Program filesjava; Finally, you can determine.
(2)PATH setting
PATH is set to point to the bin directory of the JDK
In the bin directory is a variety of compiled execution commands
If my setting should be Path=%java_home%bin;
Description:%java_home% represents the installation path for java_home
Legend: In“System variables“In the selection'PATH'This line (Pathmeans that the system can be identified under any path.Java command), click Edit. Then in ' ' '; ' symbol, then write jdk Install the path. Click ' OK ' The configuration is complete. As shown in. note: ' ; ' separate )
(3)CLASSPATH settings
CLASSPATH Set the path of the class, and most importantly
If my setting should be Classpath=d:program Filesjavajavajdk1.6.0_26jrelibrt.jar;
Legend: New system variable 'Classpath'. Just like the top .
Inspection: After the configuration is complete, verify that the installation is successful. Click ' start ', ' run ' , enter 'cmd'to enter the command interface. Enter the following to detect:
java// Display the appropriate information is correct
javac// Display the appropriate information is correct
java-version// Output Corresponding version information indicates successful installation
General verification Javac, if the Javac can display the corresponding information on the correct installation
2, Runtime Environment initial path error
1. Click 'preferences--> Server--Runtime environments ' in the Eclipse toolbar Then click on the Add button on the left , select Apache Tomcat v7.0, then OK.
then click on the 'Add' button to select Apache Tomcat v7.
Click ' next 'to select the Tomcat installation path in the second text box
Click ' finish 'and then ' OK ' to the content of the settings involved
This will start without reporting the specified JRE installation does not exist this error
(RPM) The specified JRE installation does not exist does not exist for the specified JRE installation
Ce problème survient au lancement de tomcat à partir de l’IDE Eclipse (Eclipse Tomcat Plugin)
“starting Tomcat v7.0 server at localhost” has encountered a problem.
The specified JRE installation does not exist
The specified JRE installation does not exist
La configuration ‘runtime’ spécifique au plugin pointe sur un emplacement du JDK/JRE qui n’existe plus(suite à l’update automatique de Java); ça surprends la première fois et on se creuse un peu la tête pour comprendre le pourquoi du comment :)
voici la résolution en quelques étapes simples avec des images.
-
Lancer Eclipse, cliquez sur Window –> Show view –> Other…
-
Chercher la vue “Server”, sélectionnez et cliquer OK
-
Double cliquer sur server pour afficher la fenêtre Tomcat Overview
-
Double cliquez sur l’icône représentant le serveur, pour ouvrir la fenêtre de configuration puis cliquez sur Runtime environment:
-
Dans la fenêtre “Runtime environment” choisir la version du JRE qui est installé sur votre système. puis cliquer sur finish
-
Une indication qu’il y a eu un update Java ce matin :)
Liens & références
![](/uploads/1/2/7/8/127896765/322399872.jpg)