I can't figure out how to get to the command line in Eclipse. I am using a mac.
Follow the following process to overcome the problem. Right click on workspace provided by Eclipse --> Select "Run As" --> Java Application. This will work definitely. Save this answer.
Click Start → All Programs → Accessories. To run the command prompt, click Command Prompt. To run the command prompt as an administrator, right-click Command Prompt and select Run as administrator from the shortcut menu.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With