java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

Oracle Community | 807567 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Exception in thread "main" java.lang.InternalError: Can't connect to X11 window serve

    linuxquestions.org | 10 months ago
    java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
  2. 0

    Exception in thread "main" java.lang.InternalError: Can't connect to X11 wi

    Oracle Community | 1 decade ago | 807567
    java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

    Root Cause Analysis

    1. java.lang.InternalError

      Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

      at sun.awt.X11GraphicsEnvironment.initDisplay()
    2. Java RT
      SwingUtilities.invokeLater
      1. sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
      2. sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134)
      3. java.lang.Class.forName0(Native Method)
      4. java.lang.Class.forName(Class.java:141)
      5. java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
      6. sun.awt.motif.MToolkit.<clinit>(MToolkit.java:81)
      7. java.lang.Class.forName0(Native Method)
      8. java.lang.Class.forName(Class.java:141)
      9. java.awt.Toolkit$2.run(Toolkit.java:748)
      10. java.security.AccessController.doPrivileged(Native Method)
      11. java.awt.Toolkit.getDefaultToolkit(Toolkit.java:739)
      12. java.awt.Toolkit.getEventQueue(Toolkit.java:1519)
      13. java.awt.EventQueue.invokeLater(EventQueue.java:792)
      14. javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1170)
      14 frames
    3. Unknown
      FrameDemo.main
      1. FrameDemo.main(FrameDemo.java:35)
      1 frame