Those files import com.sun, which is not portable. ./jpeg/JPEGRegistryEntry.java ./jpeg/JPEGImageWriter.java ./tiff/TIFFImageDecoder.java ./tiff/TIFFLZWDecoder.java ./tiff/TIFFDecodeParam.java ./tiff/TIFFFaxDecoder.java ./tiff/TIFFRegistryEntry.java ./tiff/TIFFDirectory.java ./tiff/TIFFEncodeParam.java ./tiff/TIFFImage.java ./tiff/TIFFTranscoderInternalCodecWriteAdapter.java ./tiff/TIFFImageEncoder.java ./tiff/TIFFField.java Batik compilation fails on OSGi platform, because of illegal dependency on rt.jar. Regards
Work for this is underway, a few subtle things still to be worked. Help is welcome, as always! See also a tightly related message on general@: http://mail-archives.apache.org/mod_mbox/xmlgraphics-general/201009.mbox/%3C20100902133410.961B.60BA733C@jeremias-maerki.ch%3E *** This bug has been marked as a duplicate of bug 46513 ***