 #!/bin/sh
 
APPDIR="$(dirname -- "${0}")"

# includes java/* in case a Java install is available
for LIB in \
    java/lib/rt.jar \
    java/lib/tools.jar \
    lib/*.jar \
    ;
do
    CLASSPATH="${CLASSPATH}:${APPDIR}/${LIB}"
done
export CLASSPATH

export PATH="${APPDIR}/java/bin:${PATH}"

java processing.app.Commander $@
