ich use Aspose.Slides for java (Version 2.2), my code in Windows is fine, but in linux i got exception:
Exception in thread “main” java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
How can i do?
I have observed the issue specified by you. Can you please share some more details about which JDK you are using and the source presentation data with us, so that we can investigate the things on our end.
We are sorry for your inconvenience,
Now with “xvfb-run java” is OK.
Its really good that you have been able to rectify the issue by your self.
Thanks and Regards,