Make sure you set your PATH to point to the new JDK, set the CLASSPATH to also
point to the 3d JAR files.
John
Asish Law wrote:
> I downloaded Java 2 version 1.3 and Java 3D version 1.2
>
> After installing both the above, I tried compiling and running a
> demo program under C:\jdk1.3\demo\java3d\HelloUniverse.
>
> When I use "appletviewer HelloUniverse.html", the class runs fine.
> But when I run it from the command line (java HelloUniverse), it gives
> me an error:
> Exception in thread "main" java.lang.NoClassDefFoundError:
> javax/media/j3d/SceneGraphObject
>
> I am getting similar errors with any other demo I am trying to run,
> the same classes run just fine via appletviewer.
>
> Any help will be greatly appreciated. Thanks.
>
> BTW, I did not see these errors when I was running jdk1.2.2. I am
> running
> Windows 98.
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".