java.lang.InternalError

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

Solutions on the web837

  • via linuxquestions.org by Unknown author, 1 year ago
    Can't connect to X11 window server using '0:0' as the value of the DISPLAY variable.
  • Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
  • via Oracle Community by 843804, 1 year ago
    Can't connect to X11 window server using '192.168.7.40:0' as the value of the DISPLAY variable.
  • Stack trace

    • java.lang.InternalError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65) at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:110) at java.security.AccessController.doPrivileged(Native Method) at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:74) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:195) at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:102) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:81) at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:120) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:195) at java.awt.Toolkit$2.run(Toolkit.java:869) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:861) at sun.swing.SwingUtilities2.getSystemMnemonicKeyMask(SwingUtilities2.java:1928) at javax.swing.plaf.basic.BasicLookAndFeel.initComponentDefaults(BasicLookAndFeel.java:752) at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:434) at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:148) at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1589) at javax.swing.UIManager.setLookAndFeel(UIManager.java:536) at javax.swing.UIManager.setLookAndFeel(UIManager.java:576) at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1345) at javax.swing.UIManager.initialize(UIManager.java:1455) at javax.swing.UIManager.maybeInitialize(UIManager.java:1422) at javax.swing.UIManager.getUI(UIManager.java:1003) at javax.swing.JOptionPane.updateUI(JOptionPane.java:1883) at javax.swing.JOptionPane.<init>(JOptionPane.java:1846) at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:858) at javax.swing.JOptionPane.showConfirmDialog(JOptionPane.java:796) at javax.swing.JOptionPane.showConfirmDialog(JOptionPane.java:758) at org.netbeans.MainImpl.execute(MainImpl.java:217) at org.netbeans.MainImpl.main(MainImpl.java:85) at org.netbeans.Main.main(Main.java:83)

    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