Exceptions using eclipse on winXP OS

Please help…
i´m using eclipse and just configured the build path to jogl-demos and many exceptions occured…
the jogl.dll is in jre/lib and in the system32 directory… I redid the entire configuration process
The console message that i get is:
Exception in thread “main” java.lang.NoClassDefFoundError: com/sun/gluegen/runtime/DynamicLookupHelper
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at javax.media.opengl.GLDrawableFactory.getFactory(GLDrawableFactory.java:106)
at javax.media.opengl.GLCanvas.(GLCanvas.java:113)
at javax.media.opengl.GLCanvas.(GLCanvas.java:82)
at javax.media.opengl.GLCanvas.(GLCanvas.java:75)
at demos.gears.Gears.main(Gears.java:19)

Please do not put jogl.dll or jogl.jar into the Windows system directory or the JRE. This will break deployment of JOGL applications and applets on your machine.

Unpack the JOGL distribution (jogl-windows-i586.zip) into an arbitrary folder on your machine. Configure the CLASSPATH / build path of the build in Eclipse to include jogl.jar and gluegen-rt.jar. Then configure the java.library.path to point to the directory containing jogl.dll. I don’t use Eclipse but maybe somebody can post more precise instructions.

Continuing from Ken’s instructions -
If you’ve got JOGL demos set up as a project within Eclipse, (and have extracted the files in the JOGL binaries .zip file to some other location), you can set JOGL up in Eclipse as a User Library. To do that, go to Window >> Preferences >> Java >> Build Path >> User Libraries, and click New. Give the library a name, then select your new library and click Add JARs. Locate your jogl.jar. Once your jar is added, expand it’s tree selection, select the Native Library Location, and click Edit. Locate the directory of your jogl.dll file/s.

That will setup JOGL as a user library in Eclipse. Note that JOGL also relies on Gluegen (which is included in the JOGL download), so either set that up as it’s own library, or include it as another set of JARs/DLLs in the JOGL library you just created.

With that done, configure the Build Path properties of the JOGL demos project to include the JOGL (and possible GlueGen) User Libraries you just created. Right-click the project >> Build Path >> Configure Build Path >> Libraries >> Add Library >> User Library >> (select JOGL & GlueGen) >> FInish. This will make JOGL (and GlueGen) available to the JOGL demos project.

thanks, ken… i was trying any way to run the app
Ultraq give the answer… i ignored the gluegen_rt.jar in my build path configuration.
everything is running now

thank you

another doubt…
some apps don´t ran … it gave the following message: Unable to initialize OPENGL_VERSION_1_3 OpenGL Extension

what about is it??

It sounds like your graphics card is very old and doesn’t support even fairly old OpenGL features.

as I supected
thanx