lib/Tools/java
author haftmann
Tue, 12 Aug 2025 19:16:44 +0200
changeset 83001 157aaea4c42c
parent 76343 6a6f650cc5a2
permissions -rwxr-xr-x
proper naming for definitions in nested context based upon class target

#!/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"; export CLASSPATH=""

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