specified JRE installation does not exist

会有一股神秘感。 提交于 2019-11-30 01:17:31

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.

Ali

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.

Go to the build file.

Right click on it.

Do the following as per the screenshots

d.zoro

Window-->Prefenerces-->Server-->Runtime Environment; like this....

Edit your Apache,and select your jdk dir....

BERGUIGA Mohamed Amine

Go to PropertiesJava Build PathLibraries.

Here you will see a red cross on the library whose path is not correct.

Select this library, click the Edit button, and change it to the correct path.

It worked after running "mvn install clean -P prepare"

For Eclipse MARS, for maven projects.

After you install the new JRE as explained (for instance here: http://javahonk.com/specified-jre-installation-does-not-exist/), don't use your old configuration, BUT create a new configuration.

Updated the Java , JRE. so I have faced this same issue, I have tried all this but i continued with this issue. then after that, i have removed the server from application and then added new server and with that i have mentioned new JRE version now its working fine.

Open eclipse and find the server tab and try to open it. There click on Runtime Environment

Select the JRE from the dropdown list to set this up by clicking Installed JREs and Add.

If you use Maven, try:

EclipseMavenJRE_1

EclipseMavenJRE_2

Window-->Prefenerces-->Server-->Runtime Environment; like this.... enter image description here

Edit your Apache,and select your jdk dir....

It worked after updating Server Runtime environment JRE .

At my case, I've changed the JRE installed at Eclipse and still the messages came out.

So,

1 - Right click at the JBoss Server > Open Lauch Configuration

2 - Select tab Classpath and click "Restore Default Entries"

3 - Close the window and Right click again the Jboss Server

4 - Select Properties > General

5 - Click two times 'Switch Location' (it returns to [workspace
metadata])

6 - Click Apply and Close

Afterwards, a new right click at Jboss Server > Clean, and the Jboss Server stopped the message.

Hope it helps.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!