#!/bin/sh

JMOL_HOME="$SAGE_SHARE/jmol"
JMOL_JAR="$JMOL_HOME/Jmol.jar"

if [ ! -f "$JMOL_JAR" ]; then
    echo >&2 "Jmol.jar not found in $JMOL_HOME"
fi

# May also pass arguments to the Java interpreter, in which case they
# should come first in the argument list
java -Xmx512m -jar "$JMOL_JAR" $@
