Is com.sun.image.codec.jpeg.JPEGCodec Included in OpenJDK?

Andrew John Hughes gnu_andrew at
Thu Oct 9 07:26:31 UTC 2008

2008/10/9 Ole Ersoy <ole.ersoy at>:
> Hi,
> Hope this is the right list (If not please let me know).  Anyone know if
> com.sun.image.codec.jpeg.JPEGCodec is included in OpenJDK?
> Thanks,
> - Ole

It's been removed from 1.7 AFAIK.  You should now be using the javax.imageio
API introduced in 1.4.  The com.sun API was never officially supported and means
code won't run on other non-Sun JDKs (e.g. GNU Classpath, Apache Harmony).
Andrew :-)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK

PGP Key: 94EFD9D8 (
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8

More information about the core-libs-dev mailing list