java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. 2. Otherwise, it might be looking for some graphics controller like X manager, which is not there, eventually resulting in "No X11 DISPLAY variable was set" to be thrown.

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 Coderanch by khushhal yadav, 1 year ago
No X11 DISPLAY variable was set, but this program performed an operation which requires it. 2. Otherwise, it might be looking for some graphics controller like X manager, which is not there, eventually resulting in "No X11 DISPLAY variable was set" to be thrown.
via superuser.com by Unknown author, 1 year ago
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
via Super User by Peter Andersson
, 1 year ago
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
via Stack Overflow by Sheng
, 2 years ago
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
via Stack Overflow by cornerstone
, 2 years 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. 2. Otherwise, it might be looking for some graphics controller like X manager, which is not there, eventually resulting in "No X11 DISPLAY variable was set" to be thrown.
at java.awt.GraphicsEnvironment.checkHeadless(Unknown Source)
at java.awt.Window.(Unknown Source)

Users with the same issue

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

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