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

linuxquestions.org | 4 months ago
  1. 0

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

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

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

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

    How to check the agent is running or not from a... | Oracle Community

    oracle.com | 11 months ago
    java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to check the agent is running or not from any other java application

    Oracle Community | 9 years ago | LoveODI
    java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
  6. 0

    Using swing.imageicon inside servlet?

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

    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.lang.InternalError

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

      at sun.awt.X11GraphicsEnvironment.initDisplay()
    2. Java RT
      ImageIcon.<init>
      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. javax.swing.ImageIcon.<init>(ImageIcon.java:81)
      13. javax.swing.ImageIcon.<init>(ImageIcon.java:107)
      13 frames
    3. Unknown
      PicResizer.main
      1. PicResizer.resizePic(PicResizer.java:41)
      2. PicResizer.<init>(PicResizer.java:30)
      3. PicResizer.main(PicResizer.java:92)
      3 frames