lucene/contrib/lucli/run.sh

13 lines
445 B
Bash
Raw Normal View History

LUCLI=.
LUCLI_MEMORY=128M
#JAVA_HOME=/home/dror/j2sdk1.4.1_03/
CLASSPATH=${CLASSPATH}:$LUCLI/lib/libreadline-java.jar:$LUCLI/lib/lucene.jar:$LUCLI/dist/lucli-dev.jar
PATH=${PATH}:$JAVA_HOME/bin
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$LUCLI
export LD_LIBRARY_PATH
export CLASSPATH
$JAVA_HOME/bin/java -Xmx${LUCLI_MEMORY} lucli.Lucli
#Use this line to enable tab completion. Depends on the Readline shares library
#$JAVA_HOME/bin/java lucli.Lucli -r