I can\'t figure out how to get to the command line in Eclipse. I am using a mac.
In the Eclipse Menubar select Window->Show View-> Other
Find or type "Terminal" in the filter box
You should now see a Terminal view in the bottom pane. In the icon section for that bottom pane you'll see an icon that looks like a very stylized terminal window with a plus-sign on it.
Click it and select "New Terminal Connection in current view", and then use the resulting dialog to create either a telnet or ssh connection to "localhost" depending on what you have available on your local system.
This works on Eclipse Indigo Java EE edition, with no additional plugins installed. I don't know if it was available in previous releases.