I really want to learn java 3D and have got the sources and pdf things from killer game making site.
Im trying to do the simplest thing- actually run the hello universe demo that comes with the opengl java 3D sdk.
ive just downloaded a jre which i thought was the same as a sdk without the demos but i guess is not, so it has installed the dlls to the right place now, so i will try to run the demo;
Microsoft Windows XP [Version 5.1.2600]
© Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Ash>gojava
C:\Documents and Settings\Ash>cd C:\Sun3\AppServer\jdk\files
C:\Sun3\AppServer\jdk\Files>PATH= C:\Sun3\AppServer\jdk\bin ( my normal tools like javac )
C:\Sun3\AppServer\jdk\Files>set CLASSPATH=
C:\Sun3\AppServer\jdk\Files>cd C:\jdk1.4\demo\java3d\HelloUniverse (the location of the HelloUniverse class file)
C:\jdk1.4\demo\java3d\HelloUniverse>set CLASSPATH=C:\jdk1.4( the location of all my java 3D stuff, eg lib, bin , demo)
C:\jdk1.4\demo\java3d\HelloUniverse>java HelloUniverse
Exception in thread “main” java.lang.NoClassDefFoundError: HelloUniverse
C:\jdk1.4\demo\java3d\HelloUniverse>java HelloUniverse.class
Exception in thread “main” java.lang.NoClassDefFoundError: HelloUniverse/class
C:\jdk1.4\demo\java3d\HelloUniverse>set CLASSPATH= (thought i would try this)
C:\jdk1.4\demo\java3d\HelloUniverse>java HelloUniverse.class
Exception in thread “main” java.lang.NoClassDefFoundError: HelloUniverse/class
C:\jdk1.4\demo\java3d\HelloUniverse>java HelloUniverse
Exception in thread “main” java.lang.NoClassDefFoundError: javax/media/j3d/Node
C:\jdk1.4\demo\java3d\HelloUniverse>
obviosly its not looking in the right place for the class files but im not sure what to do.