lib/Tools/java
author paulson <lp15@cam.ac.uk>
Wed, 19 Aug 2020 14:58:02 +0100
changeset 72171 7075fe8ffd76
parent 69126 e1b4b14ded58
child 73987 fc363a3b690a
permissions -rwxr-xr-x
more lex fixes

#!/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")" "$@"