Login  Register

Re: appbundler jogl jnilib dylib one-jar confusion

Posted by nyholku on Nov 24, 2012; 8:07pm
URL: https://forum.jogamp.org/appbundler-jogl-jnilib-dylib-one-jar-confusion-tp4027169p4027181.html

On 24.11.2012 15.18, "gouessej [via jogamp]"
<[hidden email]> wrote:

>
>
>    The use of .dylib and .jnilib depends on the version of Mac but I'm
>not comfortable with Macs, maybe Sven can confirm.
>
>
>I'm even not sure bundling an application based on JOGL as a fat JAR is
>still working on other platforms, someone else provided a fix but we
>didn't understand it and we preferred not using it.


Well, the fat jar approach on Mac OS X is working at least, but
the .jnilib files need to be renamed to .dylib at least for Java 7.
Have not tested Java 6 as that is dying fast and the future of
Java on Mac OS X is embedding the JRE with your app so no need
to support older version on Mac (what I mean that since I will
be delivering the as a 'proper' mac application bundle I don't
need to support old JRE version.

Some more info.

First I need to correct false information I gave. I was not
using 'appbundler' but 'jarbundler'. When I realized that
I switched over to 'appbundler' and now I am able create
a fully working Mac OS X bundler with or without embedded
JRE and with JOGL and my app and all libraries in a single
fat jar which I created with one-jar.

br Kusti