Hi Janet, yes the individual jars need to be on the classpath. The directory only works if the individual *.class files are in the directory tree and not in the jars. A directory on the classpath is never searched for jars.
dg -----Original Message----- From: Janet Graff <[email protected]> To: IBM-MAIN <[email protected]> Sent: Tue, Mar 15, 2016 09:11 PM Subject: Re: Resolving Java import statements Sorry Jack, not following the intent. Are you saying I need to add the individual jar files to the CLASSPATH definition? The CLASSPATH does have the directory containing the required jar file. Janet >Jack J. Woehr wrote: >> for jar in /somedir/*.jar >> do >> export CLASSPATH=$CLASSPATH:$jar >> done >Oops, this should say export CLASSPATH=$CLASSPATH:/somedir/$jar >-- >Jack J. Woehr ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to <a href="mailto:[email protected]">[email protected]</a> with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
