NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
venkatRAM Posted via mailing list.
|
Posted: Sun Dec 21, 2008 11:54 pm Post subject: Re: java.lang.ClassNotFoundException: com.sun.gluegen.runtime.DynamicLookupHelper |
|
|
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. |
|
| Back to top |
|
 |
venkatRAM Posted via mailing list.
|
Posted: Tue Dec 23, 2008 6:18 am Post subject: Re: java.lang.ClassNotFoundException: com.sun.gluegen.runtime.DynamicLookupHelper |
|
|
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. |
|
| Back to top |
|
 |
Aleksandras Novikovas Posted via mailing list.
|
Posted: Tue Dec 23, 2008 8:47 am Post subject: Re: java.lang.ClassNotFoundException: com.sun.gluegen.runtime.DynamicLookupHelper |
|
|
Hi,
You will have to wrap both jars into single library module.
-
Aleksandras Novikovas
On Mon, 2008-12-22 at 22:18 -0800, venkatRAM wrote:
| Quote: | 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 |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|