How do I enable and view the Java Console for Linux and Solaris?
This article applies to:
- Platform(s): Oracle Enterprise Linux, Oracle Linux, Red Hat Linux, SUSE Linux, Solaris SPARC, Solaris x86, Ubuntu Linux
- Java version(s): 8.0
The Java Console provides information about the Java version, user home directory, and any error message that occurs while running an applet or application. You can enable the Java Console for the Linux and Solaris platforms through the Java Control Panel
Enabling the Java Console for Linux or Solaris
- Open a Terminal window.
- Go to the Java installation directory. In this example Java is installed in the
/usr/java/
directory.
cd /usr/java/jre1.8.0_73/bin
(Change the path to where you have installed Java) - Open the Java Control Panel. Enter:
./ControlPanel
- In the Java Control Panel, click the Advanced tab.
- Select Show console under the Java Console section.
- Click the Apply button.