Following is my machine environment: JDK: 1.5 Struts: 2.0 Tomcat: 5.5 OS: Linux
I want to create a thumbnail from image. Entire logic for it is clear. I have runned same application on Windows platform, it is working fine & gives no error. But of the application is deployed on Linux platform, it throws exception.
Following is the logic:
1. I create a file object with string input containing path. 2. I have taken another varible of BufferedImage Code :
BufferedImage image = ImageIO.read(imageFile);
While creating this ojbect it gives me Exception as