Hi All,
A method in my class has the following lines:
Iterator readers = ImageIO.getImageReadersByFormatName("tiff");
if (!readers.hasNext()) {
throw new Exception("TIFF reader not found in JAI - Image I/O !!!");
}
readTiffFile();
When I run that class with a main() without doing any special classpaths, it
works fine on my Windows XP (Home edition) development machine. It finds a TIFF
reader, and reads the TIFF file well.
When I package my class in a JAR and run it under Java Web Start environment on
the same machine, it throws an exception for not finding the TIFF reader. I do
not have any special CLASSPATHs setup in either modes. JAI - Image I/O 1.1 has
been installed in my JDK 1.5.0_06.
Is there anything special I need to do to make ImageIO work in Java Web Start
environment? Anything special like including ImageIO JARs in classpath at
runtime through JWS environment?
Thanks,
- Hrishi.
[Message sent by forum member 'hrishi_joshi' (hrishi_joshi)]
http://forums.java.net/jive/thread.jspa?messageID=222205