Login  Register

Re: appbundler jogl jnilib dylib one-jar confusion

Posted by Sven Gothel on Nov 24, 2012; 2:18pm
URL: https://forum.jogamp.org/appbundler-jogl-jnilib-dylib-one-jar-confusion-tp4027169p4027175.html

On 11/24/2012 02:18 PM, gouessej [via jogamp] wrote:
> The use of .dylib and .jnilib depends on the version of Mac but I'm not
> comfortable with Macs, maybe Sven can confirm.
>

We [still] use .jnilib as the suffix and it works on Apple's provided old JRE
and on the new OpenJDK for OSX.

Yes, the new OpenJDK, or Java7, JRE is able to also load OSX's native .dylib suffix.

> 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.

Indeed.

We have to be very careful w/ GlueGen patches, since it has potential
to break it for all modules and platforms.

For example, if you provide an OSX patch for GlueGen regarding native lib loading etc -
you shall test on at least the old and new JREs.

Ofc .. we also need to discuss it and some sort of documentation/explanation
is essential to grok the code.

This has been criticized as arrogant [at least] already, however,
I hope you all understand the impact such patches may have .. etc etc :)

~Sven

> Julien Gouesse
> http://tuer.sourceforge.net
> http://gouessej.wordpress.com
>


signature.asc (909 bytes) Download Attachment