String libraryPath = findLibraryPath(libraryName, searchPath); long handle = 0; libraryPath = findLibraryPath(libraryName, searchPath); LOG.log(DEBUG_LOAD_LEVEL, "Trying " + libraryPath); handle = Native.open(libraryPath, openFlags); libraryPath = findLibraryPath("lib" + libraryName, searchPath); if (libraryPath != null) { LOG.log(DEBUG_LOAD_LEVEL, "Trying " + libraryPath);
String libraryPath = findLibraryPath(libraryName, searchPath); long handle = 0; libraryPath = findLibraryPath(libraryName, searchPath); if (Native.DEBUG_LOAD) { System.out.println("Trying " + libraryPath); System.out.println("Looking for lib- prefix"); libraryPath = findLibraryPath("lib" + libraryName, searchPath); if (libraryPath != null) { if (Native.DEBUG_LOAD) {