I just tested it here, and it worked.
You can get this sort of error if the appletviewer you are invoking is
the *not* the one in JDK 1.2 final. In other words, if you have a
previous installation of Java 1.2 (one of the betas), you can get this if
you're accidently using the appleviewer from the previous install.
Re-check your CLASSPATH, and be sure you're running 1.2 final.
Ruixia Zhou wrote:
> Hi,
>
> Since java HelloUniverse works fine, the CLASSPATH set should be fine.
> But the appletviewer on a local system failed. I used Java3D 1.1
> and JDK1.2.
>
> Do you know the reason? I am reading FAQ and do not see a clear
> solution. Thanks.
>
> RZHou
> ------------ appletviewer HelloUniverse.html
> java.lang.NoClassDefFoundError: javax/media/j3d/SceneGraphObject
> at java.lang.Class.newInstance0(Native Method)
> at java.lang.Class.newInstance(Compiled Code)
> at sun.applet.AppletPanel.createApplet(Compiled Code)
> at sun.applet.AppletPanel.runLoader(Compiled Code)
> at sun.applet.AppletPanel.run(Compiled Code)
> at java.lang.Thread.run(Compiled Code)
>
> =====================================================================
> To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
> Java 3D Home Page: http://java.sun.com/products/java-media/3D/
--
Steve Pietrowicz - [EMAIL PROTECTED] Project Manager - NCSA Java 3D Group
NCSA Portfolio: http://havefun.ncsa.uiuc.edu/Java3D/portfolio/
New Beta 2a release! New Loaders, record and replay of your
Java 3D apps and more! Freely available for non-commercial use!
You Build It VR: http://havefun.ncsa.uiuc.edu/Java3D/YouBuildItVR/
Build your own multi-user virtual worlds with no programming experience!
The Java3D FAQ: http://tintoy.ncsa.uiuc.edu/~srp/java3d/faq.html
Java News Network: http://tintoy.ncsa.uiuc.edu/~srp/java/javanews.html
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/