lib/Tools/java
author wenzelm
Sun, 20 Jan 2013 13:59:13 +0100
changeset 50990 11996ea98bbe
parent 48915 34fac6fb9b03
child 53346 26c795734b3c
permissions -rwxr-xr-x
tuned;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
27914
9a7f17370ffb refined scala/java wrappers via isatool;
wenzelm
parents:
diff changeset
     1
#!/usr/bin/env bash
9a7f17370ffb refined scala/java wrappers via isatool;
wenzelm
parents:
diff changeset
     2
#
9a7f17370ffb refined scala/java wrappers via isatool;
wenzelm
parents:
diff changeset
     3
# Author: Makarius
9a7f17370ffb refined scala/java wrappers via isatool;
wenzelm
parents:
diff changeset
     4
#
27916
09b3010ffaf2 removed unused usage;
wenzelm
parents: 27914
diff changeset
     5
# DESCRIPTION: invoke Java within the Isabelle environment
27914
9a7f17370ffb refined scala/java wrappers via isatool;
wenzelm
parents:
diff changeset
     6
9a7f17370ffb refined scala/java wrappers via isatool;
wenzelm
parents:
diff changeset
     7
CLASSPATH="$(jvmpath "$CLASSPATH")"
48915
34fac6fb9b03 simplified JVM startup, based on stronger assumptions about the Java version provided as Isabelle component;
wenzelm
parents: 47465
diff changeset
     8
isabelle_jdk java -Dfile.encoding=UTF-8 -server \
34fac6fb9b03 simplified JVM startup, based on stronger assumptions about the Java version provided as Isabelle component;
wenzelm
parents: 47465
diff changeset
     9
  "-Djava.ext.dirs=$(jvmpath "$ISABELLE_JAVA_EXT:$ISABELLE_HOME/lib/classes/ext")" "$@"
41380
92237dee0f29 isabelle java: prefer -server here;
wenzelm
parents: 36238
diff changeset
    10