java.lang.InternalError: Can't connect to X11 window server using ':0.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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 807587, 1 year ago
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
via Oracle Community by Jeroen van Veldhuizen, 1 year ago
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
via Oracle Community by puthiyat, 1 year ago
Can't connect to X11 window server using 'clust4a:0.0' as the value of the DISPLAY variable.
via Oracle Community by aram, 1 year ago
Can't connect to X11 window server using 'ebs:0.0' as the value of the DISPLAY variable.
via Oracle Community by aram, 1 year ago
Can't connect to X11 window server using 'ebs:0.0' as the value of the DISPLAY variable.
via Oracle Community by 636775, 1 year ago
Can't connect to X11 window server using 's56kb1:1.0' as the value of the DISPLAY variable.
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(Native Method)
at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:125)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at javax.swing.text.html.CSS.getValidFontNameMapping(CSS.java:906)
at javax.swing.text.html.CSS$FontFamily.parseCssValue(CSS.java:1858)
at javax.swing.text.html.CSS.getInternalCSSValue(CSS.java:529)
at javax.swing.text.html.CSS.addInternalCSSValue(CSS.java:514)
at javax.swing.text.html.StyleSheet.addCSSAttribute(StyleSheet.java:464)
at javax.swing.text.html.HTMLDocument$HTMLReader$ConvertAction.start(HTMLDocument.java:2692)
at javax.swing.text.html.HTMLDocument$HTMLReader.handleStartTag(HTMLDocument.java:2121)
at javax.swing.text.html.parser.DocumentParser.handleStartTag(DocumentParser.java:142)
at javax.swing.text.html.parser.Parser.startTag(Parser.java:380)
at javax.swing.text.html.parser.Parser.parseTag(Parser.java:1846)
at javax.swing.text.html.parser.Parser.parseContent(Parser.java:1881)
at javax.swing.text.html.parser.Parser.parse(Parser.java:2047)
at javax.swing.text.html.parser.DocumentParser.parse(DocumentParser.java:106)
at pkg2.HTMLLoader.loadDocument(HTMLLoader.java:23)
at pkg2.ParseLinks.captureLnks(ParseLinks.java:24)

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.