Problem with XIth3D

I’ve ran some JOGL things before. I’m trying to install and use Xith3D, this is the error I get when I try to run the demo code from xith.org:

C:\xith\xith3d\libs>java -cp xith3d.jar;C:\j2sdk1.4.2_07\jre\lib\ext\vecmath.jar
;.;C:\j2sdk1.4.2_07\jre\lib\ext\jogl.jar;C:\j2sdk1.4.2_07\jre\lib\ext\log4j.jar;
C:\j2sdk1.4.2_07\jre\lib\ext\junit.jar;C:\j2sdk1.4.2_07\jre\lib\ext\vorbis.jar c
om.xith3d.test.CubeTest
starting frame speed test
Exception in thread “main” java.lang.AbstractMethodError: com.xith3d.render.jogl
.OldStyleGLCapabilitiesChooser.chooseCapabilities(Lnet/java/games/jogl/GLCapabil
ities;[Lnet/java/games/jogl/GLCapabilities;)I
at net.java.games.jogl.impl.windows.WindowsGLContext.choosePixelFormatAn
dCreateContext(WindowsGLContext.java:271)
at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.create(Wind
owsOnscreenGLContext.java:204)
at net.java.games.jogl.impl.windows.WindowsGLContext.makeCurrent(Windows
GLContext.java:117)
at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.makeCurrent
(WindowsOnscreenGLContext.java:110)
at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:162)
at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:182)
at net.java.games.jogl.GLCanvas.display(GLCanvas.java:82)
at com.xith3d.render.jogl.CanvasPeerImpl.render(CanvasPeerImpl.java:1136
)
at com.xith3d.scenegraph.View.renderOnce(View.java:604)
at com.xith3d.scenegraph.View.renderOnce(View.java:537)
at com.xith3d.test.CubeTest.(CubeTest.java:181)
at com.xith3d.test.CubeTest.main(CubeTest.java:201)

I get an empty white screen when I try to run it, and when I go back to the command prompt I get this. Any ideas? I clicked on the “Newest Build” button of Xith and used that jar - should I use another file?

Thank you so much guys! All of you at this forum are really helpful!

Ok - I updated my jogl and fixed the first problem, but now I can’t run the HelloXith3D Example! I get this:

C:\xith\xith3d\libs>javac HelloXith3D.java

C:\xith\xith3d\libs>java HelloXith3D
Exception in thread “main” java.lang.NoClassDefFoundError: HelloXith3D (wrong na
me: org/xith3d/gsg/HelloXith3D)
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)

C:\xith\xith3d\libs>java -cp C:\Documents and Settings\Family>set CLASSPATH=C:\j
2sdk1.4.2_07\jre\lib\ext\jogl.jar;.;C:\j2sdk1.4.2_07\jre\lib\ext\vecmath.jar;C:
j2sdk1.4.2_07\jre\lib\ext\joal.jar;C:\j2sdk1.4.2_07\jre\lib\ext\vorbis.jar;C:\j2
sdk1.4.2_07\jre\lib\ext\junit.jar;C:\j2sdk1.4.2_07\jre\lib\ext\log4j.jar;C:\xith
\xith3d\libs\xith3d.jar HelloXith3D
Exception in thread “main” java.lang.NoClassDefFoundError: and

C:\xith\xith3d\libs>

Anybody?

I fixed it. Man I’m stupid when it comes to java…