author | wenzelm |
Thu, 15 Jul 2021 16:35:45 +0200 | |
changeset 73987 | fc363a3b690a |
parent 69126 | e1b4b14ded58 |
child 73988 | 678e1c9eb009 |
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 |
|
66906 | 7 |
eval "declare -a JAVA_ARGS=($ISABELLE_JAVA_SYSTEM_OPTIONS)" |
53346
26c795734b3c
provide ISABELLE_JAVA_SYSTEM_OPTIONS via settings;
wenzelm
parents:
48915
diff
changeset
|
8 |
|
73987
fc363a3b690a
build.props for isabelle.jar, including isabelle.jedit;
wenzelm
parents:
69126
diff
changeset
|
9 |
isabelle_setup_classpath |
fc363a3b690a
build.props for isabelle.jar, including isabelle.jedit;
wenzelm
parents:
69126
diff
changeset
|
10 |
|
53584
1f3815703436
absorb final CLASSPATH as well, such that tools might provide that by elementary means, without the "classpath" shell function (e.g. kodkodi/nitpick);
wenzelm
parents:
53576
diff
changeset
|
11 |
[ -n "$CLASSPATH" ] && classpath "$CLASSPATH" |
1f3815703436
absorb final CLASSPATH as well, such that tools might provide that by elementary means, without the "classpath" shell function (e.g. kodkodi/nitpick);
wenzelm
parents:
53576
diff
changeset
|
12 |
unset CLASSPATH |
1f3815703436
absorb final CLASSPATH as well, such that tools might provide that by elementary means, without the "classpath" shell function (e.g. kodkodi/nitpick);
wenzelm
parents:
53576
diff
changeset
|
13 |
|
58791 | 14 |
isabelle_java java "${JAVA_ARGS[@]}" \ |
61294 | 15 |
-classpath "$(platform_path "$ISABELLE_CLASSPATH")" "$@" |