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 CrazyMac
, 7 months ago
Could not initialize class sun.awt.X11GraphicsEnvironment
via Oracle Community by Pierre Timmermans, 1 year ago
Could not initialize class sun.awt.X11GraphicsEnvironment
via Google Groups by Andrea Mariottini, 2 years ago
Could not initialize class sun.awt.X11GraphicsEnvironment
via Google Groups by Mathieu P, 6 months ago
Could not initialize class > > > > > com.sun.opengl.impl.windows.WindowsGLDrawableFactory
via GitHub by ArekCzarnik
, 2 years ago
Could not initialize class com.ryantenney.metrics.spring.ExceptionMeteredMethodInterceptor
via Stack Overflow by MichalB
, 2 years ago
Could not initialize class com.sun.opengl.impl.windows.WindowsGLDrawableFactory
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)

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.