Re: Loading libraries from an executable JAR is seriously hard.
Posted by
Sven Gothel on
Apr 05, 2012; 5:41pm
URL: https://forum.jogamp.org/Loading-libraries-from-an-executable-JAR-is-seriously-hard-tp3885657p3888014.html
On 04/05/2012 01:41 PM, bkuker [via jogamp] wrote:
>
>
> Thank you, I must have misunderstood:
>
>> I guess it's time to remove the per platform archive files
>> in favor of the all-platform one.
>
>> Will keep the native libraries in there,
>> however we may remove it's reference from the wiki (howto, guides, etc)
>> or at least mark them as *alternative*. They cost lots of confusions.
>
>>From another thread.
That was regarding the platform 7z archive file, not JAR files.
>
> I'll keep trying to find a way forward with the fat jar, before trying to
> convince the upstream project to switch to jar-in-jar, but the takeaway for
> now is that JOGL prefers a jar-in-jar as the solution for a single file
> executable jar.
>
>> However, the fat JAR can be achieved with the current API model, yes.
>
> Do you mean this with or without changes to the JogAmp libraries themselves?
Yes, we need to make changes in GlueGen to support that.
I merely mentioned that we don't need to change the API
or anything to achieve that feature.
Please put all these emails in a bugreport (our bugzilla), thank you.
~Sven