Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via linuxquestions.org by Unknown author, 2 years ago
Can't connect to X11 window server using 'localhost:0.0' as the value of the DISPLAY variable.
via linuxquestions.org by Unknown author, 1 year ago
Can't connect to X11 window server using 'localhost:0.0' as the value of the DISPLAY variable.
via Oracle Community by 807555, 1 year ago
Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
via Oracle Community by 807555, 1 year ago
Can't connect to X11 window server using '10.3.10.15:0.0' as the value of the DISPLAY variable.
via Google Groups by Pfanzelter Thomas, 7 months ago
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
via Coderanch by James Hodgkiss, 1 year ago
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
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(Native Method)	at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:134)	at java.lang.Class.forName0(Native Method)	at java.lang.Class.forName(Class.java:141)	at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)	at sun.awt.motif.MToolkit.(MToolkit.java:81)	at java.lang.Class.forName0(Native Method)	at java.lang.Class.forName(Class.java:141)	at java.awt.Toolkit$2.run(Toolkit.java:748)	at java.security.AccessController.doPrivileged(Native Method)	at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:739)	at javax.swing.ImageIcon.(ImageIcon.java:81)	at javax.swing.ImageIcon.(ImageIcon.java:107)	at PicResizer.resizePic(PicResizer.java:41)	at PicResizer.(PicResizer.java:30)	at PicResizer.main(PicResizer.java:92)