Discussion:
[openide-dev] java.lang.ClassNotFoundException: com.sun.gluegen.runtime.DynamicLookupHelper
venkatRAM
2008-12-21 23:54:15 UTC
Permalink
Hi

I am trying to GLJPanel when a user clicks new. But I get the
java.lang.ClassNotFoundException. This, I understand is because the app
cannot find the JOGL libraries. But I have added the related libraries to
the app. To be more specific, these libraries are the jar files that are
attached to the netbeans JOGL extension.
Weird part is when I create a java application and added JOGL libraries, it
works fine. Here is the stack trace

java.lang.ClassNotFoundException:
com.sun.gluegen.runtime.DynamicLookupHelper
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at
org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:252)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)

Any help is appreciated.

Venkat
--
View this message in context: http://www.nabble.com/Re%3Ajava.lang.ClassNotFoundException%3A-com.sun.gluegen.runtime.DynamicLookupHelper-tp21120753p21120753.html
Sent from the Netbeans RCP/Platform Users (Open API) mailing list archive at Nabble.com.
venkatRAM
2008-12-22 05:53:29 UTC
Permalink
NOTE: Changing a module's name is a SIN, do it and you will win a free trip
to the borders of hell!
--
View this message in context: http://www.nabble.com/Re%3Ajava.lang.ClassNotFoundException%3A-com.sun.gluegen.runtime.DynamicLookupHelper-tp21120753p21123183.html
Sent from the Netbeans RCP/Platform Users (Open API) mailing list archive at Nabble.com.
venkatRAM
2008-12-23 06:18:03 UTC
Permalink
Hi

I think I found the problem. JOGL need two jars, jogl.jar and
gluegen-rt.jar. I happened to wrap them in individual libraries. But as it
turns out each one depends on the other. Is it possible wrap two jars in a
library so they accessible to one another.

I understand from geertjan's videos that it is not possible set mutual
dependencies on two libraries. Did I get this right?

Thanks in advance
Venkat
--
View this message in context: http://www.nabble.com/Re%3Ajava.lang.ClassNotFoundException%3A-com.sun.gluegen.runtime.DynamicLookupHelper-tp21120753p21140177.html
Sent from the Netbeans RCP/Platform Users (Open API) mailing list archive at Nabble.com.
Aleksandras Novikovas
2008-12-23 08:47:25 UTC
Permalink
Hi,

You will have to wrap both jars into single library module.


-
Aleksandras Novikovas
Post by venkatRAM
Hi
I think I found the problem. JOGL need two jars, jogl.jar and
gluegen-rt.jar. I happened to wrap them in individual libraries. But as it
turns out each one depends on the other. Is it possible wrap two jars in a
library so they accessible to one another.
I understand from geertjan's videos that it is not possible set mutual
dependencies on two libraries. Did I get this right?
Thanks in advance
Venkat
Loading...