>
> 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)
>
The README might have the solution to your problem:
NOTE: The Java2 SDK 1.2 installs Java into both the JDK location (c:\jdk1.2
by default) and into the JRE location
(C:\Program Files\JavaSoft\Jre\1.2 by default). Additionally, a
shortcut to java.exe is installed in the WINNT/System32 (for NT
systems) or Windows/System (for Windows 95 & 98) directory.
Developers need to be aware of this when working with the Java2 1.2 SDK.
Unless the path to the 1.2 SDK bin directory is placed in the PATH
environment variable ahead of the system directory, the SDK java.exe
will not be executed. If any extensions (such as Java 3D) are only
installed into the SDK and not the JRE as well, then these extensions
will not be found during program execution.
Dan Petersen
Java 3D Team
Sun Microsystems
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/