Thanks for your clarification Tom.
I tried deleting everything else except
/opt/visad-in-a-box and sourced it and did make
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
2. /usr/local/java3d-1_3_2-build4-linux-i586/ under
which I can see java3d media and javax class files;
3. /usr/local/src/visad under which I have my source
visad files and also under which I ran the make
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. ??
--- Tom Whittaker <tomw@xxxxxxxxxxxxx> wrote:
> In VisAD, there are several "packages". For
> example, "visad.data.text" is a
> package. In order for the classloader to find the
> contents of this package,
> the CLASSPATH variable must point to the "root
> node". This is usually the
> visad.jar file itself. (If you look at the files in
> the visad.jar file,
> you'll file entries like:
> However, when you extracted the contents of the
> visad.jar file, the "root
> node", like Bill said, is the directory that
> contains the visad subdirectory.
> That's because the CLASSPATH says "look starting
> _here_". And when looking
> for the package "visad.data.text", it will look
> "starting here" for a
> subdirectory "visad/data/text".
> Thus, if you were "in" the "/opt/visad-in-a-box"
> directory when you extracted
> the contents of the visad.jar file, your CLASSPATH
> should only point to
> Hope that helps clarify.
> Victor Shum wrote:
> > Dear Visad users,
> > I just don't understand why even I have included
> > classes in my classpath (in the setenv line which
> > sourced), when doing the make compile there is
> > complaints of its non-existence!
> > Thanks for your advice in advance!
> > Bst,
> > Victor
> > setenv CLASSPATH
> > package javax.media.j3d does not exist
> > import javax.media.j3d.*;
> Tom Whittaker (tomw@xxxxxxxxxxxxx)
> University of Wisconsin-Madison
> Space Science and Engineering Center
> Cooperative Institute for Meteorological Satellite
> Phone/VoiceMail: 608.262.2759