No X11 DISPLAY variable was set, but this program performed an operation which requires it.
Tried the below fix but still not working
System.setProperty(“java.