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

Solutions on the web

via Stack Overflow by xybrek
, 2 years ago
via YouTrack by Unknown author, 1 year ago
Could not initialize class sun.awt.X11GraphicsEnvironment
via Stack Overflow by Abdul Mohsin
, 1 year ago
Could not initialize class sun.awt.X11GraphicsEnvironment
via YouTrack by Unknown author, 2 years ago
Could not initialize class sun.awt.X11GraphicsEnvironment
via Stack Overflow by CrazyMac
, 7 months 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:264)
at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
at javax.swing.RepaintManager.(RepaintManager.java:233)
at javax.swing.JComponent.repaint(JComponent.java:4792)
at java.awt.Component.repaint(Component.java:3313)
at javax.swing.text.JTextComponent.setEditable(JTextComponent.java:1758)
at javax.swing.text.JTextComponent.(JTextComponent.java:309)
at javax.swing.JEditorPane.(JEditorPane.java:199)
at javax.swing.JTextPane.(JTextPane.java:90)
at com.intellij.idea.Main.showMessage(Main.java:231)
at com.intellij.idea.Main.showMessage(Main.java:217)
at com.intellij.idea.Main.main(Main.java:86)

Users with the same issue

6 times, 7 months ago
2 times, 8 months ago
60 times, 1 year ago
3 times, 1 year ago
3 times, 1 year ago

Write tip

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