
To compile ImageIOViewer.java file, you need JDK 1.4 or higher version. 

If you are using JDK 1.2 or 1.3, download the Image I/O package from 
the Sun site, and put the jar file in you classpath.