specified JRE installation does not exist
Solution 1
It worked after running "mvn install clean -P prepare"
Solution 2
Double click on the server to bring up the Overview.
Click on Runtime Environment.
Select the JRE from the dropdown list. You may need to set this up by clicking on Installed JREs and clicking Add.
Solution 3
If the instructions above did not help you can do the following:
1- from the run menu choose "Run configurations..."
2- Choose your maven run profile and then click on the "JRE" tab.
3- Select "Alternate JRE" and from the drop down select "jdk1.7xxx" (or whatever jdk you want to use" you can also select the workspace default jre.
I was facing the same problem and this helped.
Solution 4
Go to the build file.
Right click on it.
Do the following as per the screenshots
Solution 5
Window-->Prefenerces-->Server-->Runtime Environment; like this....
Edit your Apache,and select your jdk dir....
Comments
-
tomermes over 3 years
I'm trying to launch a server on my tomcat 7 on my eclipse indigo EE
and I get the following error:"'starting Tomcat v7.0 server at localhost' has encountered a problem.
The specified JRE installation does not exist"I checked the build path configuration and on the libraries section I have the
JDK7 as JRE System Libraray and when I check "Installed JREs..." the correct
path is there - "C:\Program Files\Java\jdk1.7.0_01".What else can be done? Many thanks.
p.s. - I'm also using maven 3.0.3
-
lumpynose almost 10 yearsFixing the JRE in the JRE tab for the maven run configuration fixed it for me. Thanks
-
Guy L almost 9 yearsadd maven configuration with goals install clean and profile prepare
-
David almost 7 yearsyou save my day