add check for JAI to prevent non uncatchable NoClassDefFoundError