Change to JDK 6 for compatibility.
First working version of TiffStackToSPW.java