/** * Attempts to load a library from the <em>DLL_PATH</em> system property. * * @param name the library name * @param client the native library client * @return <tt>true</tt> if the library was loaded successfully, otherwise <tt>false</tt> */ private boolean loadFromDLLPath(String name, NativeLibraryClient client) { String property = System.getProperty("DLL_PATH"); if (property != null) { String path = property + "/" + name + extension; path = path.replace('/', File.separatorChar); return load(path, client); } return false; }
result = load(path, client);
result = load(path, client);