lib/Tools/java
author wenzelm
Sun, 28 Apr 2019 12:34:56 +0200
changeset 70203 cd2af90360ee
parent 69126 e1b4b14ded58
child 73987 fc363a3b690a
permissions -rwxr-xr-x
proper treatment of root as directory;

#!/usr/bin/env bash
#
# Author: Makarius
#
# DESCRIPTION: invoke Java within the Isabelle environment

eval "declare -a JAVA_ARGS=($ISABELLE_JAVA_SYSTEM_OPTIONS)"

[ -n "$CLASSPATH" ] && classpath "$CLASSPATH"
unset CLASSPATH

isabelle_java java "${JAVA_ARGS[@]}" \
  -classpath "$(platform_path "$ISABELLE_CLASSPATH")" "$@"