Login  Register

Re: JOGL with OSGi

Posted by Gene Lege on May 29, 2013; 7:50pm
URL: https://forum.jogamp.org/JOGL-with-OSGi-tp3773888p4029257.html


Thanks, Wade!, this got me farther down the path, but now I am getting a runtime exception on starting my Editor because of:

Caused by: java.lang.ClassNotFoundException: com.jogamp.common.util.JarUtil$Resolver
        at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
        ... 112 more

I have the gluegen-rt.jar and the jogl-all.jar in my com.jogamp.jogl bundle, along with the appropriate native code jars, I have all the packages in these two jars in the export list, and my application *builds* successfully against it.

Anything else I should look at?  Thanks for the response and anything else you can think of...