When I try to run the demos for Xith3D I get this error:
Exception in thread “main” java.lang.NoClassDefFoundError: net/java/games/jogl/GLEventListener
at java.lang.ClassLoader.defineClass0(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 com.xith3d.render.jogl.RenderPeerImpl.makeCanvas(RenderPeerImpl.java)
at com.xith3d.test.Xith3DTerrainTest.init(Xith3DTerrainTest.java)
at com.xith3d.test.Xith3DTerrainTest.main(Xith3DTerrainTest.java)
I’m using the Sun compiler(SDK v1.4.2) on a Windows ME compooter. If I do get the programs to run, (usually by using the cmdline c:\j2sdk1.4.2\bin\java com.xith3d…etc…
a box pops up (with the title bar saying “Xith3D”), but doesn’t display anything. I’m guessing that it’s because I need to do something else with the JOGL libraries and such, but can anyone confirm this? I didn’t make any additions to 1.4.2 until now, and I only followed the instructions in the Xith3D installation tute.