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 Jack, Sorry for not following you here. I finally found a web page that explained that this was a batch job filling in the STDENV DD as indicated on this page http://www.ibm.com/developerworks/systems/library/es-java-batchz.html. I was actually logged on to the USS side and couldn't figure out where this script would go. I was planning on a make file with the classpath statically filled in and was somewhat daunted by the idea of specifying every single jar file that I might need. Is this easier to do in batch than native USS because of this scripting? Janet >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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN