removed references to com.sun.. image codecs, now using javax.imageio.ImageIO to provide jpeg encoding/decoding. now it runs under openjdk