On Jan 26, 2008, at 9:40 AM, Godmar Back wrote:

Please see http://faq.javaranch.com/java/HowToSetTheClasspath


On Jan 26, 2008, at 9:49 AM, Galen Charlton wrote:

When dealing with JAR files, each entry in CLASSPATH should be the
full path to the JAR file, e.g.,

export CLASSPATH=/home/eric/lucene/lucene-core-2.3.0.jar:/home/eric/
lucence/lucene-demos-2.3.0.jar

You use a plain directory as a CLASSPATH component only if you intend
to use .class files that has not been packaged up in a JAR.



Thank you for the prompt replies. Yes, my CLASSPATH needed to be more
specific; it needed to specify the .jar files explicitly. I can now
run the demo. (Arg! Classpaths!)

--
ELM

Reply via email to