lib/Tools/java
author griff
Tue, 03 Apr 2012 17:26:30 +0900
changeset 47433 07f4bf913230
parent 47115 1a05adae1cc9
child 47465 71d5f37ee2bf
permissions -rwxr-xr-x
renamed "rel_comp" to "relcomp" (to be consistent with, e.g., "relpow")

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

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

if isabelle_jdk java -server >/dev/null 2>/dev/null; then
  SERVER="-server"
else
  SERVER=""
fi

exec "$ISABELLE_JDK_HOME/bin/java" -Dfile.encoding=UTF-8 $SERVER \
  "-Djava.ext.dirs=$("$ISABELLE_HOME/src/Tools/JVM/java_ext_dirs")" "$@"