java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it.

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 GitHub by glassfishrobot
, 6 months ago
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
via justanswer.com by Unknown author, 1 year ago
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
via Stack Overflow by Dave Smith
, 3 months ago
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
via Oracle Community by 843802, 4 months ago
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
via Coderanch by Rob Isaacs, 1 year ago
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
via eteks.com by Unknown author, 1 year ago
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
at java.awt.Window.(Window.java:432)
at java.awt.Frame.(Frame.java:403)
at java.awt.Frame.(Frame.java:368)
at javax.swing.SwingUtilities$SharedOwnerFrame.(SwingUtilities.java:1733)
at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1810)
at javax.swing.JDialog.(JDialog.java:253)
at com.sun.tools.xjc.installer.LicenseForm.(LicenseForm.java:44)
at com.sun.tools.xjc.installer.Main.main(Main.java:37)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
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
4 more bugmates

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