im new to the whole java3d / jogl / jsdl /lwjgl scene, and i am having alot of trouble just getting the demos to run.
My specs are
Gentoo linux 1.4
Athlon XP 2000+
nVidia geForce MX440
using the Netbeans IDE
j2sdk 1.4.2
at first i tried to get java3d working, it was packaged in a .bin installer file, so i did as the readme suggested and placed the installer in the j2sdk1.4.2 folder, then ran it, everything seemed to extract properly
i launched netbeans, browsed through the demos until i found the HelloUniverse demo, ran it, recieved the error:
Exception in thread “main” java.lang.NoClassDefFoundError: HelloUniverse
this had me puzzled, due to the fact that i had followed the readme precisely, i then went to console,
changed directory to my j2sdk/demo.java3d folder
java HelloUniverse
same error
i have also tried using JOGL and its respective demos with the same result
EDIT: i have just ensured that the path to the .jar files is included in my CLASSPATH
EDIT 2: Java Console Output
Exception in thread “main” java.lang.NoClassDefFoundError: demo/java3d/HelloUniverse/HelloUniverse (wrong name: HelloUniverse)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)