0

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?

asked Nov 13, 2009 at 13:52
1
  • I need the console, because I need to set the debugging level. And I need to run it from Eclipse, because there are a lot of settings which need to be set (Tomcat, jar, sign jars, etc). Commented Nov 13, 2009 at 14:41

4 Answers 4

3

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.

answered Nov 13, 2009 at 14:09
Sign up to request clarification or add additional context in comments.

Comments

2

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

answered Nov 13, 2009 at 14:01

3 Comments

I need it for a debug situation... is it possible to start the console when I run the application from Eclipse?
@Jenea - This is not enough if java.io.Console support is required. See bugs.eclipse.org/bugs/show_bug.cgi?id=122429
maybe he needs System.in?
0

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.

answered Nov 13, 2009 at 14:08

Comments

0

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.

answered Nov 13, 2009 at 14:49

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.