O que usar no lugar de JpegEncoder do pacote com.sun.*?

Já existe em algum lugar um JpegEncoder free?

C:\java>javac Test.java
Test.java:22: warning: com.sun.image.codec.jpeg.JPEGCodec is Sun proprietary API and may be removed in a future release
import com.sun.image.codec.jpeg.JPEGCodec;
^
Test.java:23: warning: com.sun.image.codec.jpeg.JPEGEncodeParam is Sun proprietary API and may be removed in a future release
import com.sun.image.codec.jpeg.JPEGEncodeParam;
^
Test.java:24: warning: com.sun.image.codec.jpeg.JPEGImageEncoder is Sun proprietary API and may be removed in a future release
import com.sun.image.codec.jpeg.JPEGImageEncoder;
^
Test.java:123: warning: com.sun.image.codec.jpeg.JPEGImageEncoder is Sun proprietary API and may be removed in a future release
JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
^