Setup:
Problem:
When I try to add a new Tomcat
A different resolution of the same problem that worked for me. I share it here it might be helpful for someone.
I have - Eclipse Juno - Tomcat 7 - Windows 7
This is what I did
Eclipse > Window > Preferences > Installed JREs and I've got jre7 added and selected here. So I added jre6 by pressing Add button(If not installed or you ran a java update, just download and install jre6). And select jre6 instead of jre7.
Now go to Eclipse > Window > Preferences > Server > Runtime Environment > Press Add and add Tomcat 7.
You're done now.