Nicola,

 Under NT, in a DOS shell type "set Path".   If it doesn't come back with 
"k:\jdk1.2\bin" as the first thing in your path, you need to fix that.  This is 
explained in the top-level J3d readme file, it has some long name (ie 
README.java3d-jdk.OpenGL.txt).  If you don't do that, you get a different 
"java" executable and the builtin classpath is not set for j3d classes, etc.  
This is probably in the J3d FAQ, if not it should be.

HTH,
-Gary





Nikola Vukovljak <[EMAIL PROTECTED]> on 03/31/99 11:30:51 AM
To: [EMAIL PROTECTED]
cc:  (bcc: Gary Moss/arl)
Subject: Re: [java3d] Getting Started



Except that installation instructions for Win NT say that if you didn't
have any JDK installed before, you shouldn't have to set the classpath
at
all.
This however, isn't clear if you do not install in default directory as
Sun assumes you will - not in my case. There is no info about this in
the
troubleshooting section either.
On a Solaris box you do need to set the classpath of course...
I have a slightly different problem for which I haven't found an answer
as
yet, so if anyone can help...
I installed JDK in:  k:\jdk1.2
Now, since I didn't set classpath, at this stage I have to run things
with
-classpath (or -cp) option, e.g : cd  k:\jdk1.2\demo\jfc\simple, then
java
-cp . SimpleExample.

So, this works for jfc examples. etc.

Now, if I try to run java3d app: e.g. in:
k:\jdk1.2\demo\java3d\HelloUniverse,
java -cp . HelloUniverse , I get the following error:

Exception in thread "main" java.lang.NoClassDefFoundError:
javax/media/j3d/SceneGrpahObject

I get similar errors (referring to javax) trying to run other apps.

Now, I have no problems running these as applets with appletviewer (no
classpath needed), so I assume that it isn't a driver problem (OpenGL,
etc.)

There is a ref. in Registry to CLASSPATH though, pointing to
->F:\Winnt\Java\classes
I thought that this was related to IE and its Java support...
Is this the problem ?

I am using a PPro200 64M Ram, WinNT 4 Sp3 (on dual boot system), Matrox
Millenium
JDK 1.2, latest Java 3D (1.1.1)
Nik.




=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/



=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to