My Oracle Support Banner

Cannot Start Jconsole Exception: No X11 DISPLAY Variable Was Set (Doc ID 1056173.1)

Last updated on SEPTEMBER 06, 2017

Applies to:

Oracle Communications Order and Service Management - Version 2.8.0 to 7.2.2 [Release 2.8 to 7.2]
Information in this document applies to any platform.
***Checked for relevance on 13-Mar-2013***
***Checked for relevance on 04-Dec-2015***
***Checked for relevance on 06-Sept-2017***


When trying to start jconsole in Solaris using SSH Secure Shell, getting the following errors:

/export/osmenv06/bea921/jdk150_06/bin $ ./jconsole
Exception in thread "AWT-EventQueue-0" java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(
at java.awt.Window.<init>(
at java.awt.Frame.<init>(
at javax.swing.JFrame.<init>(
at java.awt.event.InvocationEvent.dispatch(
at java.awt.EventQueue.dispatchEvent(
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(
at java.awt.EventDispatchThread.pumpEventsForHierarchy(
at java.awt.EventDispatchThread.pumpEvents(
at java.awt.EventDispatchThread.pumpEvents(


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.