I've been assigned to learn Java 3D and create a demo class of my own
for my workgroup. As such, I downloaded Java 3D, installed it using the
installation program, and
added it to my classpath. I then tried to run the HelloUniverse demo
file using "java HelloUniverse" and then also "appletviewer
HelloUniverse.html". Both times I received error messages. They are
as follows:
C:\java1.2\demo\java3d\HelloUniverse>java HelloUniverse
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/media/j3d/SceneGraphObject
C:\java1.2\demo\java3d\HelloUniverse>appletviewer HelloUniverse.html
java.lang.NoClassDefFoundError:
com/sun/j3d/utils/universe/SimpleUniverse
at HelloUniverse.<init>(HelloUniverse.java:81)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:462)
at sun.applet.AppletPanel.runLoader(Compiled Code)
at sun.applet.AppletPanel.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
I installed Java 3D into my Java1.2 directory. I was unable to find
a javax directory on my computer using FindFile and am not sure if
Java3d installed correctly. I assume I have OpenGL 1.1 on this computer
(a new Windows NT machine) but don't know for sure. I'd appreciate any
assistance or direction you can give me on this.
Mike
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/