java.lang.InternalError: Can't connect to X11 window server using 'whale.cscs.qmw.ac.uk:49.0' as the value of the DISPLAY variable .

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 807593, 1 year ago
Can't connect to X11 window server using 'whale.cscs.qmw.ac.uk:49.0' as the value of the DISPLAY variable .
via Google Groups by ivan, 3 months ago
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
via Google Groups by ivan, 3 months ago
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
via Oracle Community by 117457, 1 year ago
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
via Oracle Community by 402406, 1 year ago
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
via Oracle Community by 56063, 8 months 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 'whale.cscs.qmw.ac.uk:49.0' as the value of the DISPLAY variable .
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:59)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
at java.awt.Window.(Window.java:188)
at java.awt.Frame.(Frame.java:315)
at java.awt.Frame.(Frame.java:262)
at sun.applet.AppletViewer.(AppletViewer.java:139)
at sun.applet.StdAppletViewerFactory.createAppletViewer(AppletViewer.java:81)
at sun.applet.AppletViewer.parse(AppletViewer.java:1035)
at sun.applet.AppletViewer.parse(AppletViewer.java:969)
at sun.applet.Main.run(Main.java:140)
at sun.applet.Main.main(Main.java:82)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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