> MIME-Version: 1.0
> Date: Mon, 13 Nov 2000 15:38:35 -0600
> From: Demitrius Nelon <[EMAIL PROTECTED]>
> Subject: [JAVA3D] WIN2000 applet vs. application
> To: [EMAIL PROTECTED]
>
> Does anybody have any ideas about this one?
>
> I performed a clean install of the jdk and j3d.  I can run the demo in the
> appletviewer, but not as an application.  This is the same as the error with
> HelloJava3Da from the Tutorial.
>
> This works ------>C:\jdk1.3\demo\java3d\HelloUniverse>appletviewer
> HelloUniverse.html
> This doesn't --->C:\jdk1.3\demo\java3d\HelloUniverse>java HelloUniverse
>                           Exception in thread "main"
> java.lang.NoClassDefFoundError: HelloUniverse
> This works ----->C:\jdk1.3\demo\java3d\HelloUniverse>java -cp
> /jdk1.3/demo/java3d/HelloUniverse/H
>                          elloUniverse.class; HelloUniverse

First, make sure your PATH environment variable leads you to the
correct Java executable in c:\jdk1.3\bin\java.  If you have
c:\winnt\system32 in your path before c:\jdk1.3\bin, it will
use the Microsoft JVM (won't work).  Do 'echo %PATH% to see
you path.  To change your sefault path, Start/Settings/Control
Panel/System/Environment.

Type 'java -version' and you should see something like this:

java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)

Next, set you classpath to '.' like this:  set CLASSPATH=.

-Paul

===========================================================================
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