Login  Register

Problems with OSGi and automatic native loading with JARs

Posted by justin on Jan 22, 2012; 8:34pm
URL: https://forum.jogamp.org/Problems-with-OSGi-and-automatic-native-loading-with-JARs-tp3679887.html

I have an OSGi application that uses JOGL. Previously, I used RC3 and extracted jogl.all.jar and gluegen-rt.jar into a bundle, then added all the native libraries for each platform to that bundle. This allowed me to have a single JAR / OSGi bundle that worked with all platforms.

As of RC4 (I believe), the natives are automatically loaded from the native JARs. I am unsure how I can package an OSGi bundle that handles this mechanism, and would appreciate any tips.