// 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.envihdr.ENVIHdrImageReaderSpi");
available = new ENVIHdrImageReaderSpi().isAvailable();
if (LOGGER.isLoggable(Level.FINE)) {
if (available)
LOGGER.fine("EnviHdrFormatFactory is availaible.");
else