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
Your code appears to be getting the default graphics device configuration on a machine that doesn't have a usable graphic device. This doesn't make much sense, and is never going to work.
If you could explain why you are trying to do this (on a headless machine) we might be able to offer an alternative.