lib/Tools/java
author paulson <lp15@cam.ac.uk>
Fri, 14 May 2021 12:43:19 +0100
changeset 73683 60a788467639
parent 69126 e1b4b14ded58
permissions -rwxr-xr-x
strict_sorted now an abbreviation

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