I can't find the Java console in Preferences nor in Utilities. Can I open the Java console from a Terminal command?
Running OS X 10.7.5 and Java version 1.6.0_65
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.Visit Stack Exchange
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
It is somewhat maddening, but the Java console won't display unless a Java application is actually running. The easiest way to get it started is to visit https://www.java.com/verify/ from the Firefox browser.
If you're opening a Runnable Jar (one which you click in finder to open), just try running it in terminal (from Spotlight search) using
java -jar /path/to/file.jar.
If it's a Java Web Applet, you need to go into
System Preferences ->
Show Console ->
Apply. From here, you'll need to actually run the program before the console displays, as @danorton said.
'The easiest way to get it started is to visit https://www.java.com/verify/ from the Firefox browser.'