tags:

views:

68

answers:

2
+3  A: 

Find the linker settings, and add the -mwindows switch.

eduffy
A: 

you might look into this here surely answers why Eclipse is not opening your console window

There seems to be no way to get a java.io.Console object when running an application through Eclipse. A command-line console window is not opened with the application, as it is run as a background process (background to Eclipse?). Currently, there is no Eclipse plugin to handle this issue, mainly due to the fact that java.io.Console is a final class.

All you can really do is test the returned Console object for null and proceed from there.

as far as your console window popping is concerned, you might be using System.console in the application

Hope this Helps

81967