lib/Tools/java
author blanchet
Sun, 21 May 2017 21:37:31 +0200
changeset 65885 77d922eff5ac
parent 61294 2d3d26e9b191
child 66906 03a96b8c7c06
permissions -rwxr-xr-x
added one more simplification to help replay

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

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

[ -n "$CLASSPATH" ] && classpath "$CLASSPATH"
unset CLASSPATH

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