Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Open command prompt using Eclipse

Tags:

java

eclipse

I am new to Java and am trying to run a program using Eclipse. But I have no idea how to get the command prompt running in with Eclipse...

I did some online research and couldn't get anything consolidated!

Update:

I'm not using an applet. It's a normal Java program trying to read a line from command prompt. I'm trying to do system programming.

like image 783
user21968 Avatar asked Oct 13 '08 23:10

user21968


People also ask

How do I open command prompt in Eclipse?

A fully working command-line Terminal inside Eclipse. Just press Ctrl+Alt+T to open a local command prompt (Terminal).

How do I type commands in Eclipse?

To specify command line arguments in eclipse, go to Run -> Run… Make sure you are running the correct project for which you want to specify command line arguments for, and then select the arguments tab. Now enter the arguments you want, separated by spaces.

How do I open a command prompt in Terminal?

Open Command Prompt in WindowsClick Start and search for "Command Prompt." Alternatively, you can also access the command prompt by pressing Ctrl + r on your keyboard, type "cmd" and then click OK.


1 Answers

Check out this lesson plan on how to get started with Eclipse programs:

Lesson

Specifically, see this image:

Picture of Eclipse Console with Standard Input

If the Console tab is not visible in your Eclipse, go to Window -> Show View -> Console in the menu bar.

like image 138
KC Baltz Avatar answered Sep 27 '22 22:09

KC Baltz