lib/Tools/java
author wenzelm
Fri, 12 Apr 2013 17:56:51 +0200
changeset 51704 0b0fc7dc4ce4
parent 48915 34fac6fb9b03
child 53346 26c795734b3c
permissions -rwxr-xr-x
actually fail on prolog errors -- such as swipl startup failure due to missing shared libraries -- assuming it normally produces clean return code 0;

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

CLASSPATH="$(jvmpath "$CLASSPATH")"
isabelle_jdk java -Dfile.encoding=UTF-8 -server \
  "-Djava.ext.dirs=$(jvmpath "$ISABELLE_JAVA_EXT:$ISABELLE_HOME/lib/classes/ext")" "$@"