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 (X11GraphicsEnvironment.java) at sun.awt.X11GraphicsEnvironment.<clinit> (X11GraphicsEnvironment.java:63) (pc 26) at java.lang.Class.forName0 (Class.java)

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 Oracle Community by 807577, 1 year ago
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay (X11GraphicsEnvironment.java) at sun.awt.X11GraphicsEnvironment.<clinit> (X11GraphicsEnvironment.java:63) (pc 26) at java.lang.Class.forName0 (Class.java)
via Oracle Community by 540376, 1 year ago
Can't connect to X11 window server using 'phuti:0.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay (X11GraphicsEnvironment.java) at sun.awt.X11GraphicsEnvironment.<clinit> (X11GraphicsEnvironment.java:58) (pc 26) at java.lang.Class.forName0 (Class.java)
via Oracle Community by 3004, 4 months ago
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay at sun.awt.X11GraphicsEnvironment.<clinit> (X11GraphicsEnvironment.java: 61) (pc 13) at java.lang.Class.forName0
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 (X11GraphicsEnvironment.java) at sun.awt.X11GraphicsEnvironment.<clinit> (X11GraphicsEnvironment.java:63) (pc 26) at java.lang.Class.forName0 (Class.java)
at java.lang.Class.forName(java.lang.String)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.