lib/Tools/java
author wenzelm
Sun, 18 Jul 2021 12:48:31 +0200
changeset 74038 b4f57bfe82e7
parent 73993 3868fed3c34b
permissions -rwxr-xr-x
more robust "isabelle build_scala" as separate tool;

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