Janet Graff wrote:
I set my CLASSPATH to one of the directories (the last as it happens)
CLASSPATH=/usr/lpp/zWebSphere_OM/V7R0/FPW20M/web2mobilefep_1.1/optionalLibraries/jaxrs_1.X
jars themselves don't get added to classpath by their dir being added to
classpath
Each jar must appear in the classpath.
Either add all the jars in your apache dir to the classpath, e.g, in a script:
for jar in /somedir/*.jar
do
export CLASSPATH=$CLASSPATH:$jar
done
or use the jar tool to look for the missing class and add the jar you find it
in to CLASSPATH, e.g.,
for jar in /somedir/*.jar
do
echo $jar
jar tf $jar | grep someclass
echo "***"
done
--
Jack J. Woehr # Science is more than a body of knowledge. It's a way of
www.well.com/~jax # thinking, a way of skeptically interrogating the universe
www.softwoehr.com # with a fine understanding of human fallibility. - Carl Sagan
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN