specified JRE installation does not exist

前端 未结 14 857
-上瘾入骨i
-上瘾入骨i 2020-12-25 10:37

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 encount

相关标签:
14条回答
  • 2020-12-25 11:06

    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.

    0 讨论(0)
  • 2020-12-25 11:08

    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.

    0 讨论(0)
  • 2020-12-25 11:11

    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.

    0 讨论(0)
  • 2020-12-25 11:12

    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.

    0 讨论(0)
  • 2020-12-25 11:13

    Go to the build file.

    Right click on it.

    Do the following as per the screenshots

    enter image description here

    enter image description here

    0 讨论(0)
  • 2020-12-25 11:16

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

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

    0 讨论(0)
提交回复
热议问题