cd `dirname $0` # generating the proper classpath CLASSPATH="" for N in `ls -1 lib/*.jar`; do CLASSPATH="$CLASSPATH$N:"; done for N in `ls -1 libx/*.jar`; do CLASSPATH="$CLASSPATH$N:"; done java -classpath classes:$CLASSPATH yacy -shutdown