lib/Tools/java
author wenzelm
Sun, 29 Mar 2015 18:32:28 +0200
changeset 59839 62d69ffa639f
parent 58791 00916b0dd596
child 61294 2d3d26e9b191
permissions -rwxr-xr-x
more standard Sign.typ_match: sorts should be alright in result of Syntax.check_terms;

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