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

Andrew John Hughes gnu_andrew at member.fsf.org
Thu Oct 9 07:26:31 UTC 2008


2008/10/9 Ole Ersoy <ole.ersoy at gmail.com>:
> 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
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8



More information about the core-libs-dev mailing list