java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. 2. Otherwise, it might be looking for some graphics controller like X manager, which is not there, eventually resulting in "No X11 DISPLAY variable was set" to be thrown.

Coderanch | khushhal yadav | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Getting java.awt.HeadlessException Exception

    Coderanch | 8 years ago | khushhal yadav
    java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. 2. Otherwise, it might be looking for some graphics controller like X manager, which is not there, eventually resulting in "No X11 DISPLAY variable was set" to be thrown.
  2. 0

    why DISPLY is necessary ?

    Google Groups | 5 years ago | tonimenen
    java.lang.reflect.InvocationTargetException
  3. 0

    jsf application throwing java.awt.headlessexception on jboss

    Stack Overflow | 6 years ago
    java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Tomcat - User - java.awt.HeadlessException on tomcat

    nabble.com | 1 year ago
    java.awt.HeadlessException: > No X11 DISPLAY variable was set, but this program performed an operation > which requires it. at > java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
  6. 0

    IBM The launcheradmin.sh script generates a "No X11 DISPLAY variable was set, but this program performed an operation which requires it" error - United States

    ibm.com | 1 year ago
    java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.awt.GraphicsEnvironment.checkHeadless (GraphicsEnvironment.java:174)

  1. rp 1 times, last 3 months ago
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.awt.HeadlessException

    No X11 DISPLAY variable was set, but this program performed an operation which requires it. 2. Otherwise, it might be looking for some graphics controller like X manager, which is not there, eventually resulting in "No X11 DISPLAY variable was set" to be thrown.

    at java.awt.GraphicsEnvironment.checkHeadless()
  2. Java RT
    Window.<init>
    1. java.awt.GraphicsEnvironment.checkHeadless(Unknown Source)
    2. java.awt.Window.<init>(Unknown Source)
    2 frames