java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment

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

,
Expert tip

org.apache.http.config.Lookup class is in httpcore-4.3.jar not in httpclient-4.3.1.jar

Solutions on the web

via experts-exchange.com by Unknown author, 1 year ago
Could not initialize class sun.awt.X11GraphicsEnvironment
via experts-exchange.com by Unknown author, 1 year ago
Could not initialize class sun.awt.X11GraphicsEnvironment
via compiere by mswift
, 1 year ago
Could not initialize class sun.awt.X11GraphicsEnvironment
via Oracle Community by 843834, 1 year ago
Could not initialize class sun.awt.X11GraphicsEnvironment
via Server Fault by Stefan Thyberg
, 1 year ago
Could not initialize class sun.awt.X11GraphicsEnvironment
via serverfault.com by Unknown author, 2 years ago
Could not initialize class sun.awt.X11GraphicsEnvironment
java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at sun.awt.X11.XToolkit.(XToolkit.java:89)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at java.awt.Toolkit$2.run(Toolkit.java:836)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:828)
at sun.swing.SwingUtilities2$AATextInfo.getAATextInfo(SwingUtilities2.java:120)
at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:1556)
at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:130)
at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1591)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:537)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:577)
at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1331)
at javax.swing.UIManager.initialize(UIManager.java:1418)
at javax.swing.UIManager.maybeInitialize(UIManager.java:1406)
at javax.swing.UIManager.getInstalledLookAndFeels(UIManager.java:421)
at javax.swing.UIManager.installLookAndFeel(UIManager.java:460)
at org.compiere.plaf.CompierePLAF.(CompierePLAF.java:307)
at org.compiere.install.Setup.main(Setup.java:253)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 5 months ago
6 times, 5 months ago
2 times, 6 months ago
49 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.