Autopsy
4.14.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
This section outlines how Autopsy distributes native libraries and provides pointers for you if you want to distribute native libraries with your modules.
The easiest guidance (from http://bits.netbeans.org/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/api.html#jni) is to put the native library in the release/modules/lib
folder in your project. Or, in architecure-specific locations if your module is multi-platform. See the above page for examples. They will get copied from that location to somewhere that will be searched when Autopsy does a System.loadLibrary()
.
Autopsy has three types of native libraries that it depends on (and ships with):
Tsk_DataModel.jar
file. It gets copied into there by the datamodel ant target.libtsk_jni
needs them, then they will be located based on Windows search paths and the NetBeans paths are not in that set. So, we launch them before libtsk_jni
needs them and from within Autopsy so that it uses the Autopsy search paths.Copyright © 2012-2020 Basis Technology. Generated on: Wed Apr 8 2020
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.