java.lang.InternalError

Can't connect to X11 window server using 'mycomp' as the value of the DISPLAY variable.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web744

  • via Oracle Community by 807577, 11 months ago
    Can't connect to X11 window server using 'mycomp' as the value of the DISPLAY variable.
  • via Google Groups by Greg Ellison, 1 year ago
    Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
  • via Google Groups by Mairhtin O'Feannag, 1 year ago
    Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
  • Stack trace

    • java.lang.InternalError: Can't connect to X11 window server using 'mycomp' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.<clinit>(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 java.awt.Font.initializeFont(Font.java:303) at java.awt.Font.<init>(Font.java:339) at javax.swing.plaf.metal.DefaultMetalTheme$FontDelegate.getFont(DefaultMetalTheme.java:195) at javax.swing.plaf.metal.DefaultMetalTheme.getFont(DefaultMetalTheme.java:153) at javax.swing.plaf.metal.DefaultMetalTheme.getUserTextFont(DefaultMetalTheme.java:137) at javax.swing.plaf.metal.MetalLookAndFeel$FontActiveValue.createValue(MetalLookAndFeel.java:1405) at javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:196) at javax.swing.UIDefaults.get(UIDefaults.java:126) at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:44) at javax.swing.UIDefaults.getFont(UIDefaults.java:346) at javax.swing.UIManager.getFont(UIManager.java:491) at javax.swing.plaf.basic.BasicTextUI.installDefaults(BasicTextUI.java:215) at javax.swing.plaf.basic.BasicTextUI.installUI(BasicTextUI.java:673) at javax.swing.JComponent.setUI(JComponent.java:449) at javax.swing.text.JTextComponent.setUI(JTextComponent.java:267) at javax.swing.text.JTextComponent.updateUI(JTextComponent.java:277) at javax.swing.text.JTextComponent.<init>(JTextComponent.java:251) at javax.swing.JEditorPane.<init>(JEditorPane.java:175) at JEd.main(JEd.java:5)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago