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 Ask Ubuntu by jenzinas
, 1 year ago
Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
via askubuntu.com by Unknown author, 2 years ago
Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
via GitHub by Omertron
, 2 years ago
Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
via Google Groups by Sander, 2 years ago
Can't connect to X11 window server using '' as the value of the DISPLAY variable.
via Oracle Community by K.Bharathithasan, 1 year ago
Can't connect to X11 window server using ':2' as the value of the DISPLAY variable.
java.lang.InternalError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.access$100(X11GraphicsEnvironment.java:52) at sun.awt.X11GraphicsEnvironmNent$1.run(X11GraphicsEnvironment.java:155) at java.security.AccessController.doPrivileged(Native Method) at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:131) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68) at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:89) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at java.awt.Toolkit$2.run(Toolkit.java:834) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:826) at java.awt.Toolkit.getEventQueue(Toolkit.java:1689) at java.awt.EventQueue.invokeLater(EventQueue.java:1032) at javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1267) at codetests.DialogTest.main(DialogTest.java:72)