Re: [CODE4LIB] arg! classpaths! [resolved]

2008-01-26 Thread Eric Lease Morgan
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

Re: [CODE4LIB] arg! classpaths! [resolved]

2008-01-26 Thread Godmar Back
To add a bit of experience gained from 13 years of Java programming: I strongly recommend against setting CLASSPATH in the shell. Instead, use either the -cp switch to java, as in java -cp lucene-core...jar:lucene-demo-.jar or use the env command in Unix, as in env

Re: [CODE4LIB] arg! classpaths! [resolved]

2008-01-26 Thread Godmar Back
On Jan 26, 2008 10:12 AM, Godmar Back [EMAIL PROTECTED] wrote: Note, however, that this rule does not apply to shell scripts: inside shell scripts, it's okay to export CLASSPATH because such settings will be valid only for the shell executing the script; in Unix, changes to environment