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
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.
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.
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.
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.
Go to the build file.
Right click on it.
Do the following as per the screenshots


Window-->Prefenerces-->Server-->Runtime Environment; like this.... enter image description here
Edit your Apache,and select your jdk dir....