Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Console not showing output

I have written a simple class having an SOP statement for "Hello World". But the Eclipse console is not showing output. I then wrote the same program in a previously created project and it worked fine. I am opening the Console as given below:

Window->Show View->Console.

But it is not working. I am using j2ee project in the same workspace. Any idea? Please help. I am stuck because of this problem.

like image 874
user3497430 Avatar asked Dec 24 '14 06:12

user3497430


People also ask

Why output is not showing 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.

How do I show console output in Eclipse?

Inside Eclipse -> Click on "Window" Select "Show View" Then select "Console" If you cannot see console in the list, select "Other" and then search for "console' in new dialog at top and select "Console"

How do I fix the console in Eclipse?

Just open the Window(in eclipse IDE) -> click on Reset Perspective. It worked for me.


2 Answers

Go to "Window > Reset Perspective", that will reset the window settings to default. Next, you might need to stop any running Java processes. I suggest you then click "Remove all Terminated Launches" and if the red "Terminate All" is still available click that as well

Remove all Terminated Launches

like image 157
Elliott Frisch Avatar answered Sep 18 '22 01:09

Elliott Frisch


[working] I encountered the same problem, I tried with all the solutions provided above but it didn't work then I came to a solution which worked. Follow the following process to overcome the problem.

Right click on workspace provided by Eclipse --> Select "Run As" --> Java Application.

enter image description here

This will work definitely.

like image 44
Rahat Rajdev Avatar answered Sep 21 '22 01:09

Rahat Rajdev