Hey :)
My application is running on Ubuntu 8 and when i try to create a file with images, i got an error about X11: "No X11 DISPLAY variable was set, but this program performed an operation which requires it.".
After this, i've tried to set:
DISPLAY=:0.0
export DISPLAY
And it still doesn't work ... i've tried set a parameter for JAVA_OPTS on Jboss:
-Djava.awt.headless=true
It still ...