Posted by
nyholku on
Nov 24, 2012; 8:14pm
URL: https://forum.jogamp.org/appbundler-jogl-jnilib-dylib-one-jar-confusion-tp4027169p4027182.html
On 24.11.2012 22.05, "Wade Walker [via jogamp]"
<
[hidden email]> wrote:
>This means that in Eclipse plugins (which find native libraries using
>class loader hooks that eventually call System.mapLibraryName()), it will
>look for <library name>.dylib. But in JOGL's native library loader, we
>explicitly load the library using System.loadLibrary( <library
>name>.jnilib ), so .jnilib still works in that case even with JDK 7.
I'm sure you are right, but for me this appears to work
exactly opposite.
In Eclipse I use just the jar files (which contains
the .jnilib files) and that works.
But when I'm using fat jar I create with one-jar
I need to use the .dylib renamed natives.
So yes you are right, but for the casual observer
this might look just the opposite. Confusing.
And many thanks for the answer and pointer to the
Oracle change. Interesting times we are living
in Java world, so many things moving all at once.
br Kusti