1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
#!/bin/sh
# Note that the JAR MANIFEST points to the locations of the
# required libs on Debian so no setting of Classpath is needed here.
# For the same reason, the JAR you find in this package is not going to be
# happy running outside Debian.
# Actually, I do want to add ~/rdp_classifier/ to the CP if it exists
if [ -e "$HOME/rdp_classifier/data/" ] ; then
CLASSPATH="$CLASSPATH:$HOME/rdp_classifier/"
CLASSPATH="${CLASSPATH#:}"
export CLASSPATH
fi
JAR=/usr/share/rdp-classifier/rdp_classifier.jar
exec java $JAVA_OPTS -Xms512M -Xmx512M -jar "$JAR" "$@"
|