java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.awt.GraphicsEnvironment.checkHeadless(Graphic sEnvironment.java:159)

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 ittoolbox.com by Unknown author, 1 year ago
No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.awt.GraphicsEnvironment.checkHeadless(Graphic sEnvironment.java:159)
via ubuntuforums.org by Unknown author, 1 year ago
No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.awt.GraphicsEnvironment.checkHeadless(Graphic sEnvironment.java:173)
via linuxhospital.com by Unknown author, 1 year ago
No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.awt.GraphicsEnvironment.checkHeadless(Graphic sEnvironment.java:173)
via linuxhospital.com by Unknown author, 1 year ago
No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.awt.GraphicsEnvironment.checkHeadless(Graphic sEnvironment.java:173)
via Google Groups by Jia Fang (Matthew), 4 months ago
> > > No X11 DISPLAY variable was set, but this program performed an operation > > > which requires it. > > > ?????????????? at > > > java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
via nabble.com by Unknown author, 1 year ago
> No X11 DISPLAY variable was set, but this program performed an operation > which requires it. at > java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.awt.GraphicsEnvironment.checkHeadless(Graphic sEnvironment.java:159)
at java.awt.Window.(Window.java:318)
at java.awt.Frame.(Frame.java:419)
at java.awt.Frame.(Frame.java:384)
at javax.swing.JFrame.(JFrame.java:150)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 10 months ago

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