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 Stack Overflow by Gopi
, 1 year ago
Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
via GitHub by prvst
, 1 year ago
Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
via GitHub by ambikashri
, 2 years ago
Can't connect to X11 window server using 'localhost:0.0' as the value of the DISPLAY variable.
via JDK Bug System by Mikael Auno, 2 years ago
Can't connect to X11 window server using '$DISPLAY_SITE' as the value of the DISPLAY variable.
via java.net by Unknown author, 2 years ago
Can't connect to X11 window server using '$DISPLAY_SITE' as the value of the DISPLAY variable.
via Google Groups by Dino B., 8 months ago
Can't connect to X11 window server using ':0' as the value of the DISPLAY
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.(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.(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.(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)