On Jan 23, 2005, at 7:18 AM, Daniel Naber wrote:
On Sunday 23 January 2005 13:04, Erik Hatcher wrote:

I have gotten lucli to work fine by putting the additional JAR files on
the CLASSPATH.

When I try to start it with "java -jar lucli-dev.jar" it seems to ignore
the CLASSPATH. Also the -cp option doesn't seem to have any effect when
using it with -jar. Did you call it in a different way?

I ran the run.sh in lucli directory, though I modified it locally to point to a Lucene 1.4.3 JAR.


Here's basically the script I launch it with:

LUCLI=.
LUCLI_MEMORY=128M
CLASSPATH=${CLASSPATH}:$LUCLI/lib/libreadline-java.jar:$LUCLI/lib/ lucene-1.4.3.jar:$LUCLI/classes/lucli.jar
PATH=${PATH}:$JAVA_HOME/bin
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$LUCLI
export LD_LIBRARY_PATH
$JAVA_HOME/bin/java -Xmx${LUCLI_MEMORY} lucli.Lucli


        Erik


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to