Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get to the command line in Eclipse

I can't figure out how to get to the command line in Eclipse. I am using a mac.

like image 564
Aaron Avatar asked Dec 31 '11 19:12

Aaron


People also ask

Why console is not opening in Eclipse?

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.

How do I run a command line?

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.


1 Answers

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.

like image 174
Rob H Avatar answered Oct 12 '22 16:10

Rob H