lib/Tools/java
author wenzelm
Fri, 24 May 2024 16:15:27 +0200
changeset 80188 3956e8b6a9c9
parent 76343 6a6f650cc5a2
permissions -rwxr-xr-x
more uniform/robust detect_repository/is_repository: actually check hg root;

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