lib/Tools/java
author wenzelm
Tue, 07 Dec 2021 19:32:43 +0100
changeset 74910 bdaf29253394
parent 74038 b4f57bfe82e7
child 76343 6a6f650cc5a2
permissions -rwxr-xr-x
proper syntax category;

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

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

classpath "$ISABELLE_SETUP_CLASSPATH"; unset ISABELLE_SETUP_CLASSPATH
classpath "$CLASSPATH"; unset CLASSPATH

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