Jenny Smith
Jenny Smith

Reputation: 3017

How to start the java console when launching an application from Eclipse?

When I start a java application, the Java Console is started. But when I start a java application from Eclipse, the Java Console does not start on its own. How can I make it start also when I run an application from Eclipse?

Upvotes: 0

Views: 17861

Answers (4)

Kennet
Kennet

Reputation: 5796

First check that no other console is pinned, icon looks like window with a needle in it. This means that no other console except the one that is pinned will show the output. If everything else fails try to reset the java perspective in Eclipse.

Upvotes: 0

Diego Dias
Diego Dias

Reputation: 22606

Take a look at this topic .. I think it is exactly what you want.

There is an answer of how to be able to use step-through debugging from Eclipse.

Upvotes: 3

Kelly S. French
Kelly S. French

Reputation: 12334

If you are wanting the program to start in it's own window. Try running it as an external tool. The program would be cmd.exe and the argument would be your java command line, e.g. "java -cp c:\myclasspath myProg" and so forth.

Upvotes: 0

Eugeniu Torica
Eugeniu Torica

Reputation: 7574

What for do you need java console? There is window console in Eclipse IDE where all System.out.println are redirected.

Upvotes: 2

Related Questions