Only explicitly load zlib and libewf from windows.

This commit is contained in:
Jeff Wallace 2013-11-21 11:05:20 -05:00
parent f4d33150f0
commit 1e71d7397d

View File

@ -57,7 +57,6 @@ public class Installer extends ModuleInstall {
} catch (UnsatisfiedLinkError e) {
logger.log(Level.SEVERE, "Error loading ms crt libraries, ", e);
}
}
try {
System.loadLibrary("zlib");
@ -72,21 +71,7 @@ public class Installer extends ModuleInstall {
} catch (UnsatisfiedLinkError e) {
logger.log(Level.SEVERE, "Error loading EWF library, ", e);
}
/* We should rename the Windows dll, to remove the lib prefix.
*/
// try {
// String tskLibName = null;
// if (PlatformUtil.isWindowsOS()) {
// tskLibName = "libtsk_jni";
// } else {
// tskLibName = "tsk_jni";
// }
// System.loadLibrary(tskLibName);
// logger.log(Level.INFO, "TSK_JNI library loaded");
// } catch (UnsatisfiedLinkError e) {
// logger.log(Level.SEVERE, "Error loading tsk_jni library", e);
// }
}
}
public Installer() {