How to create a thumbnail for an image using java application where X11 not available . I tried using javascalr,im4java but all working if X11 present.
Now I am able to run in headless mode using this below code
static {
System.setProperty("java.awt.headless", "true");
System.out.println(java.awt.GraphicsEnvironment.isHeadless());
}