lib/Tools/java
author haftmann
Mon, 13 Jul 2020 15:23:32 +0000
changeset 72028 08f1e4cb735f
parent 69126 e1b4b14ded58
child 73987 fc363a3b690a
permissions -rwxr-xr-x
concatentation of bit values

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