Check your C:\Windows and C:\Windows\System folders for copies of
Java.exe.  Try renaming these to Java.xxx.  Chances are that
C:\Windows or C:\Windows\System is earlier in your PATH variable
than C:\jdk1.3\bin is, so that when you type "java" at the command
line, the Java3D JAR files are not properly detected.

You should not have to add the Java3D JAR files to your CLASSPATH,
but you might want to put C:\jdk1.3\bin as the first directory in
your PATH.

-Curtis

At 20:16 6/12/00, 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".

Reply via email to