Closed bmarwell closed 4 years ago
I think they're both acceptable, unless you're on Java 6, no?
Even if you are on java 6, both are acceptable as this library loader can only use .load()
instead of .loadLibrary()
.
I need to document this a little better. This issue could only serve as a reminder to me so far
E.g.
.dylib
and.jnilib
on Mac..jnilib
; but we use.dylib
s so that library interdependencies are handled correctly. if we don't find a.dylib
, try.jnilib
instead.Source: https://developer.apple.com/library/archive/documentation/Java/Conceptual/Java14Development/05-CoreJavaAPIs/CoreJavaAPIs.html
According to this site,
.jnilib
is regarded the older extension but should still work.