Thanks a lot. We have this library already on the class path. We will check how this can be a replacement.
Thanks Marco -----Ursprüngliche Nachricht----- Von: Mark Prins <mc.pr...@gmail.com> Gesendet: Dienstag, 10. Dezember 2019 11:34 An: geotools-devel@lists.sourceforge.net Betreff: Re: [Geotools-devel] jai-codec not compatible with OpenJDK (not directly GeoTools related) On 10-12-19 10:29, Marco Peters wrote: > Hi, > > This is a question not directly related to GeoTools but maybe you can > help me anyway. If you think this question is not appropriate here, > then feel free to ignore or delete it. > > GeoTools is one of the rare projects who is still using jai. We, the > ESA SNAP (https://step.esa.int <https://step.esa.int/>) project also > still use it. > > Now, we want to migrate to OpenJDK and noticed that JAI uses classes > from the com.sun.image.codec.* package which is not any longer > available in OpenJDK. > > The usage is for example in the class com.sun.media.jai.codecimpl.JPEGImageDecoder.So, we cant read jpeg files anymore. > > How have you solved this? Are you reading images differently now? Have > you patched the JAI library? there is a replacement from Geosolutions called JAI-ext that was dropped into geotools some years ago, in any case geotools now runs just fine on both openjdk 8 and 11, afaik without native jai see: https://github.com/geosolutions-it/jai-ext _______________________________________________ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel _______________________________________________ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel