Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: though I can definitely see the classes under javax/media/j3d

Victor:

Thanks for your clarification Tom. I tried deleting everything else except
/opt/visad-in-a-box and sourced it and did make
compile again. Still I got the errors. Think I should clarify on what I'm doing: I have three directories:
1. /opt/visad-in-a-box which contains the .jar and the
extracted class files (without javax, I don't know
why);

javax is part of the Java distribution and not part of VisAD.

unless you are changing the visad library you do not need to
extract the contents of the visad.jar file -- just put the jar file
in the CLASSPATH.

2. /usr/local/java3d-1_3_2-build4-linux-i586/ under
which I can see java3d media and javax class files;

I have access to a Unix machine that has a proper installation, and the Java3D JAR files (j3dutils.jar, j3dcore.jar, j3daudio.jar) are in the:

/opt/java/jre/lib/ext

directory...where "/opt/java" contains directories like bin, lib, jre, man, etc. In this configuration, the "/opt/java/bin" directory is also in the PATH.

Since I don't use Linux, I cannot give you further details, but this (Solaris) directory tree looks exactly like my Windows machine...so something looks wrong with your Java install.

I don't understand what you mean by you can "see the javax class files" -- they are contained in the rt.jar file that is there when you install Java and should not be changed....???

3. /usr/local/src/visad under which I have my source
visad files and also under which I ran the make
compile for compilation.
In my CLASSPATH before I got your msg I put in all the
path links of 1. and 2. for compiling in 3.
I guess I may have to copy over the subdirs in 1. and
2. under the root of 3. ??

You should not have to move any of the Java install files.

You do not have to move the visad.jar file (or the "tree" if you want to use the extracted class files), just be sure they are in your CLASSPATH.

Many Thanks!

Bst,
Victor


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690