java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

Oracle Community | 807587 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Java Swing, X11 problem in text mode.

    Oracle Community | 1 decade ago | 807587
    java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

    Root Cause Analysis

    1. 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()
    2. Java RT
      ParserDelegator.parse
      1. sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
      2. sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:125)
      3. java.lang.Class.forName0(Native Method)
      4. java.lang.Class.forName(Class.java:140)
      5. java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
      6. javax.swing.text.html.CSS.getValidFontNameMapping(CSS.java:906)
      7. javax.swing.text.html.CSS$FontFamily.parseCssValue(CSS.java:1858)
      8. javax.swing.text.html.CSS.getInternalCSSValue(CSS.java:529)
      9. javax.swing.text.html.CSS.addInternalCSSValue(CSS.java:514)
      10. javax.swing.text.html.StyleSheet.addCSSAttribute(StyleSheet.java:464)
      11. javax.swing.text.html.HTMLDocument$HTMLReader$ConvertAction.start(HTMLDocument.java:2692)
      12. javax.swing.text.html.HTMLDocument$HTMLReader.handleStartTag(HTMLDocument.java:2121)
      13. javax.swing.text.html.parser.DocumentParser.handleStartTag(DocumentParser.java:142)
      14. javax.swing.text.html.parser.Parser.startTag(Parser.java:380)
      15. javax.swing.text.html.parser.Parser.parseTag(Parser.java:1846)
      16. javax.swing.text.html.parser.Parser.parseContent(Parser.java:1881)
      17. javax.swing.text.html.parser.Parser.parse(Parser.java:2047)
      18. javax.swing.text.html.parser.DocumentParser.parse(DocumentParser.java:106)
      19. javax.swing.text.html.parser.ParserDelegator.parse(ParserDelegator.java:78)
      19 frames
    3. pkg2
      ParseLinks.captureLnks
      1. pkg2.HTMLLoader.loadDocument(HTMLLoader.java:23)
      2. pkg2.ParseLinks.captureLnks(ParseLinks.java:24)
      2 frames