// if these classes are here, then the runtime environment has
// access to JAI and the JAI ImageI/O toolbox.
try {
Class.forName("it.geosolutions.imageio.plugins.jp2kakadu.JP2GDALKakaduImageReaderSpi");
available = new JP2GDALKakaduImageReaderSpi().isAvailable();
if (LOGGER.isLoggable(Level.FINE)) {
if (available) {
LOGGER.fine("JP2KFormatFactory is availaible.");
} else {