From the menu bar, Window → Show View → Console. Alternately, use the keyboard shortcut:
- Mac: Option-Command-Q, then C, or
- Windows: Alt-Shift-Q, then C

From the menu bar, Window → Show View → Console. Alternately, use the keyboard shortcut:
- Mac: Option-Command-Q, then C, or
- Windows: Alt-Shift-Q, then C

the only solution for me was:
click on window->close all perspective (you can try also close perspective)
after this, in the top right corner click on: open perspective->resource
done
[Q] I accidentally deleted my input console. I am new to eclipse and I can't seem to get it back.
java - How to make eclipse open the console automatically? - Stack Overflow
java - How to Enable the Console in Eclipse - Stack Overflow
How do I run programs in a separate console window?
The console is wrapped into a tab, down at the bottom. All output is shown in the console tab. It even keeps track of several debug instances that you might be running at the same time, so you can switch between them in the tab's little arrow menu at the corner. If you can't find it, you can always re-open it using
Window > Show View > Console
The tab is configurable within Eclipse preferences, so you can always change its default black-on-white colors to resemble your usual command prompt. And you can drag the console tab and detach it from the IDE so it lives as a separate window that you can move to another monitor.
More on reddit.comHow do I open the Console in Eclipse?
What happens if I reset the perspective in Eclipse?
How do I clear the Console output?
Videos
http://gyazo.com/7ef98229551f9178679f0eab23a828e4 (pic)
All help is appreciated.
Go to Preferences>Run/Debug>Perspectives and select Java Application. Then, go to the right side and change the run perspective to Java, or make your own perspective that includes the console window. Double check that "Open the associated perspective when launching" is set to "Always", or "prompt". I tested the settings below by running while in the debug perspective; it switched to the Java perspective automatically.

The console is a view; a smaller part of any perspective. Because the Java perspective includes the console view, conveniently placed below your code, using the Java perspective and setting it to launch automatically will solve your problem.
Go to Windows→Run/Debug→Console and select both Show when program writes to standard out and Show when program writes to standard error
Then it will pop open the Console window regardless of whether you are in the Java or Debug perspective.
You don't have to close Eclipse to fix the issue. Just close "Console" tab from views, go to Windows -> Show View -> Console. Sometimes the listener code for Console view gets crazy and start throwing exceptions.
Hope it helps.
PS: This fix works for Eclipse and STS
It happens when all the things are not completely ready to open in your eclipse. The only fix I found is , Save your files and restart the eclipse.
In Eclipse main menu go to File->Restart. your problem should be fixed now. your program is ready to run
As @Sibbo said, you need to enter something into the console in order for the program to work. To get the console up in eclipse, go to Window, Show View, Console (as shown in the picture below.) Then run your program, enter content in the console and await for the same thing to be printed back

The program is waiting for input. Click on the console on the bottom of the window and enter something. Then press enter. The same text will appear.
Is there a way to have output and input be in a separate console window like in JCreator
In eclipse, you can have two console views... On the console view, you have a button called 'open console' (the most right button in the console view). If you click this and select option 3 (new console view), you will see two consoles.
If you right click on the console tab and click on 'detached' the console will be detached from the eclipse frame. (for Eclipse Juno, see the HRJ's comment below)
You can select which output you want to see on each console by clicking the 'display selected console' button (second button from the right on the console view)
I have a different solution to this that works for my situation, and can probably be adapted by others.
I actually want a real second console window -- gnome-terminal in my case. I want this because I want ANSI color support and I want JLine to operate correctly. I can separately start my program and connect remotely for debugging, but that's annoying.
Locate where Java runs from, for the JRE eclipse will run as part of your debug config. Create a script there named gjava, give it the following content, and set it executable:
Copy#!/bin/sh
gnome-terminal -x java $*
Then, in your launch configuration, on the common page, uncheck "Allocate console". On the JRE page, under Java executable, choose "Alternate" and enter gjava.
When Eclipse launches in debug mode, it will launch a gnome terminal and pass the remaining args to the Java processor, which will be running inside its window.
At that point you have a real console that supports JLine, ANSI colors, and full debug support.

