1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-16 14:25:02 -05:00

* fix OSX/Linux library load issues

This commit is contained in:
Reinhard Pointner 2015-10-16 17:28:01 +00:00
parent 94614cd2b7
commit 5dd8ea3c1e

View File

@ -29,7 +29,7 @@ public class SevenZipLoader {
Logger.getLogger(SevenZipLoader.class.getName()).warning("Failed to preload library: " + e); Logger.getLogger(SevenZipLoader.class.getName()).warning("Failed to preload library: " + e);
} }
System.loadLibrary("lib7-Zip-JBinding"); System.loadLibrary("7-Zip-JBinding");
SevenZip.initLoadedLibraries(); // NATIVE LIBS MUST BE LOADED WITH SYSTEM CLASSLOADER SevenZip.initLoadedLibraries(); // NATIVE LIBS MUST BE LOADED WITH SYSTEM CLASSLOADER
nativeLibrariesLoaded = true; nativeLibrariesLoaded = true;
} catch (Throwable e) { } catch (Throwable e) {