try { String cdfLib1 = System.getProperty("cdfLib1"); // first CDF native library name if (cdfLib1 != null) { System.loadLibrary(cdfLib1); } String cdfLib2 = System.getProperty("cdfLib2"); // second CDF native library name if (cdfLib2 != null) { System.loadLibrary(cdfLib2); } } catch(SecurityException e) { logger.warning("Security violation loading CDF library:" + e.getMessage()); return false; } catch(UnsatisfiedLinkError e) { logger.warning("Unable to load CDF library:" + e.getMessage()); return false; };