author | wenzelm |
Wed, 06 Apr 2011 21:55:41 +0200 | |
changeset 42262 | 4821a2a91548 |
parent 41622 | ad5474a8374b |
child 43521 | d477b92109b8 |
permissions | -rwxr-xr-x |
27914 | 1 |
#!/usr/bin/env bash |
2 |
# |
|
3 |
# Author: Makarius |
|
4 |
# |
|
27916 | 5 |
# DESCRIPTION: invoke Java within the Isabelle environment |
27914 | 6 |
|
7 |
CLASSPATH="$(jvmpath "$CLASSPATH")" |
|
41380 | 8 |
|
9 |
JAVA_EXE="${THIS_JAVA:-$ISABELLE_JAVA}" |
|
10 |
if "$JAVA_EXE" -server >/dev/null 2>/dev/null |
|
11 |
then |
|
41622 | 12 |
exec "$JAVA_EXE" -Dfile.encoding=UTF-8 -server "$@" |
41380 | 13 |
else |
41622 | 14 |
exec "$JAVA_EXE" -Dfile.encoding=UTF-8 "$@" |
41380 | 15 |
fi |
16 |