I need to do some image processing on a java server (Debian with java version \"1.6.0_12\"), and I am receiving java.awt.HeadlessException from my code:
java
When headless you don't have a screen device. The documentation is clear:
Throws: HeadlessException - if isHeadless() returns true