NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
tomw wrote: > What I use when compiling VisAD code is: > > export CLASSPATH='.;d:\src\;' > export JIKESPATH='d:\jdk1.2\jre\lib\rt.jar;d:\src;.' > > I'm using U/WIN on NT, which is why this looks like this, but the > key is to include the rt.jar file in there. And this way, I can use > javac or jikes. > > If you're only using jikes, you _should_ be able to just use: > > JIKESPATH=/jdk1.2/jre/lib/rt.jar:.:/opt1/java/Visad/visad.jar > > (or wherever your rt.jar file is...) and unset CLASSPATH. > > Hope that helps. Dave may have other ideas, though... Yup, Tom's right, although just to be sure, I add *all* the JRE jar files to my JIKESPATH, which doesn't seem to hurt anything. Here's some shell code you can add to your .profile which automates this: # set Jikes path # JIKESPATH=/home/dglo/prj:. JIKESTOP=/usr/local/java/jre if [ ! -d "$JIKESTOP" ]; then echo "Warning: Top-level java directory \"$JIKESTOP\" does not exist" 1>&2 else for i in `find $JIKESTOP/lib -name '*.jar' -print`; do JIKESPATH=$JIKESPATH:$i done fi export JIKESPATH (I initialize my JIKESPATH with "/home/dglo/prj" because I keep my VisAD sources in /home/dglo/prj/visad, and "." is in there so I can compile non-package Java sources.)
visad
archives: