Reputation: 720
When starting a Java program e.g.
Java -cp path/to/ main.class
my application starts, but I don't get a console in Win 8.1. I have set the Java console Switch to show console as Admin. But the console still doesn't show up.
Upvotes: 2
Views: 16986
Reputation: 7434
The Java Console is available for applets running with Java Plug-in and applications running with Java Web Start.
https://docs.oracle.com/javase/8/docs/technotes/guides/deploy/console_trace_log.html
If you are running your command from a command interpreter, it will become your console for input and output unless otherwise redirected. If you are using javaw you will have no console.
Upvotes: 0
Reputation:
Bring up the Windows Charms bar through Windows key + W. Search for "Java Control Panel" and open that up. Go into the "Advanced" tab and the second category down should be "Java Console" - make sure that the "Show Console" option is selected.
Upvotes: -5