lib/Tools/java
author blanchet
Mon, 02 May 2011 14:40:57 +0200
changeset 42613 23b13b1bd565
parent 41622 ad5474a8374b
child 43521 d477b92109b8
permissions -rwxr-xr-x
use strings to encode type systems in ATP module, to reduce the amount of out-of-place information and also to make it easier to print the type system used

#!/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