[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Packaging JNI



Hi all, and a Happy New Year!

What is the best way to package a Java package that contains some JNI?

What the original build.xml creates is

* a jar file `jniast_libs.jar`  with the following content:
      131  2017-01-02 10:16   META-INF/MANIFEST.MF
  1869112  2017-01-02 10:16   libjniast.so

* the unpacked `libjniast.so`

* a jar `jniast.jar` with the other (non-native) classes

The examples for jh I found all were not using jni. Can I just specify
`jniast_libs.jar` in debian/starjava-ast-java.jlibs and hope that jh
will handle it correctly?

Best regards

Ole


Reply to: