[OpenJDK 2D-Dev] com.sun.image.codec.jpeg.JPEGImageEncoder with OpenJDK

Phil Race philip.race at oracle.com
Thu Jul 21 17:29:19 UTC 2011


This does not exist in OpenJDK. It was proprietary code that we could 
not open source.
Also it was never part of the Java SE spec. Just "co-bundled".
If you want to use it you need to use the Sun/Oracle "product" JDK although
we'd like to rip it out even from that in JDK8.
The standard replacement is  "javax.imagio" which has been there since 1.4

-phil.


On 7/21/2011 8:58 AM, ml at logemann.org wrote:
> Hi,
>
> can anyone tell me the status of com.sun.image.codec.jpeg.JPEGImageEncoder
> with OpenJDK 7 ? We tried running OpenJDK6 on Linux and werent able to use
> it since one project of ours use
> com.sun.image.codec.jpeg.JPEGImageEncoder.
>
> it seems that with OpenJDK6 this is an interface where the project expects
> it to be a class (or vice versa, dont know anymore).
>
> Or do we need to get a replacement for it?
>
> Marc
>




More information about the 2d-dev mailing list