Re: The automatic extraction and loading of native libraries from JARs do not work in applications based on Eclipse RCP and multiple fragments
Posted by
gouessej on
URL: https://forum.jogamp.org/The-automatic-extraction-and-loading-of-native-libraries-from-JARs-do-not-work-in-applications-baseds-tp4025492p4025494.html
My problem is not the same.
We currently put JOGL & GlueGen class JARs into a fragment called "JoglLib", we put native libraries into disctinct fragments called "JoglLib.linux32", "JoglLib.linux64", "JoglLib.win32" and "JoglLib.win64". It works fine.
When I try to use only JARs (those containing class files and those containing native libraries) and to put them all into "JoglLib", I get an UnsatisfiedLinkError. In my humble opinion, it is caused by Eclipse RCP itself which is not designed to use native libraries this way.