I got an error while trying to run HelloXith3D
java.lang.NoClassDefFoundError: javax/vecmath/Tuple3f
at org.xith3d.gsg.HelloXith3D.main(HelloXith3D.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
Exception in thread “main”
I tried to run it under IntelliJIdea4.5, Win2000, jdk 1.4.2
You have to add “vecmath.jar” to your classpath.
You can find it in the Xith3D archive, in the “third-party” directory.
vecmath.jar is added to project library, all used libs are added too. Paths are defined in sistem environment variables. If I try to run demos from …/xith3d/demo/, (they use runtest.bat to fix paths), nothing changes. Appears java.lang.NoClassDefFoundError for different classes.
try to run it with jdk 1.5