lib/Tools/java
author boehmes
Sun, 05 Jun 2011 15:00:17 +0200
changeset 43154 72e4753a6677
parent 41622 ad5474a8374b
child 43521 d477b92109b8
permissions -rwxr-xr-x
made introduction of explicit application stable under removal of vacuous facts (which only lower the rank of constants but do not participate in the proof)

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

CLASSPATH="$(jvmpath "$CLASSPATH")"

JAVA_EXE="${THIS_JAVA:-$ISABELLE_JAVA}"
if "$JAVA_EXE" -server >/dev/null 2>/dev/null
then
  exec "$JAVA_EXE" -Dfile.encoding=UTF-8 -server "$@"
else
  exec "$JAVA_EXE" -Dfile.encoding=UTF-8 "$@"
fi