Bryan Pendleton <bpendleton.de...@gmail.com> writes: >> and echo $CLASSPATH >> /home/kb9agt/jdk1.7/db/lib/derby.jar:. >> I see A : separated list of directories >> >> I think I need >> java -cp $CLASSPATH WwdEmbedded >> Yep. Did the trick. Please update the tutorial as soon as you can.
What does java -version say here, I wonder? I seem to rememeber I saw something similar using embedded VMs in th past.. Dag > > I'm glad you got it figured out, but I'm not sure what's wrong. > > The whole point of setting your CLASSPATH variable is that you do > *not* need to say '-cp $CLASSPATH', since the 'java' executable > will use the CLASSPATH environment variable when no '-cp' argument > is present on the command line. > > I'm having trouble figuring out things you might have done where > '-cp $CLASSPATH' is different from omitting the -cp argument entirely. > > Is it possible that you did > > set CLASSPATH=... > > instead of doing > > export CLASSPATH=... > > thanks, > > bryan