Not able to create thumbnails on linux environment in java application
<p>I am not able to create thumbnails on linux environment in java application. 
Libraries which I am using this packages</p>

<pre><code>import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.MediaTracker;
import java.awt.Panel;
import java.awt.RenderingHints;
import java.awt.image.BufferedImage;
import java.io.ByteArrayOutputStream;
import java.io.IOException;

import com.sun.image.codec.jpeg.JPEGCodec;
import com.sun.image.codec.jpeg.JPEGEncodeParam;
import com.sun.image.codec.jpeg.JPEGImageEncoder;
</code></pre>

<p>to craete thumbnail</p>

<p>Graphics2D class to actually craete thumbnails.</p>

<p>This is working in windows environment and one of our linux machine also, but its not working in other linux machine whihch has no graphics crad in it.</p>

<p>Please advice and help.</p>

<p>Thanks in advance</p>
