Hi Ole, Le 2/01/2017 à 10:29, Ole Streicher a écrit :
> What is the best way to package a Java package that contains some JNI? The recommended way is to put the jar in a libfoo-java package, and the native library in a libfoo-jni package. Some projects use to embed the native libraries inside the jar, in this case the native library should be extracted, and the code loading the library modified accordingly. You can get a look at the snappy-java and libjna-java packages for an example. Emmanuel Bourg