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 Google Groups by Wim S, 10 months ago
via oracle.com by Unknown author, 2 years ago
Could not initialize class sun.awt.X11GraphicsEnvironment
via Oracle Community by 805941, 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
via oracle.com by Unknown author, 1 year 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:186)
at sun.awt.X11.XToolkit.(XToolkit.java:106)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
at java.awt.Toolkit$2.run(Toolkit.java:849)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:841)
at sun.swing.SwingUtilities2$AATextInfo.getAATextInfo(SwingUtilities2.java:121)
at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:1564)
at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:147)
at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1599)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:528)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:568)
at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1318)
at javax.swing.UIManager.initialize(UIManager.java:1405)
at javax.swing.UIManager.maybeInitialize(UIManager.java:1393)
at javax.swing.UIManager.getUI(UIManager.java:989)
at javax.swing.JPanel.updateUI(JPanel.java:126)
at javax.swing.JPanel.(JPanel.java:86)
at javax.swing.JPanel.(JPanel.java:109)
at javax.swing.JPanel.(JPanel.java:117)
at org.bioinfo.ngs.qc.qualimap.gui.utils.GraphicImagePanel.(GraphicImagePanel.java:34)
at org.bioinfo.ngs.qc.qualimap.gui.utils.TabPropertiesVO.(TabPropertiesVO.java:120)
at org.bioinfo.ngs.qc.qualimap.main.BamQcTool.execute(BamQcTool.java:220)
at org.bioinfo.ngs.qc.qualimap.main.NgsSmartTool.run(NgsSmartTool.java:166)
at org.bioinfo.ngs.qc.qualimap.main.NgsSmartMain.main(NgsSmartMain.java:94)

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.