lib/Tools/java
author wenzelm
Fri Jan 01 16:40:47 2016 +0100 (2016-01-01)
changeset 62028 2ecee4679f99
parent 61294 2d3d26e9b191
child 66906 03a96b8c7c06
permissions -rwxr-xr-x
updated for release;
wenzelm@27914
     1
#!/usr/bin/env bash
wenzelm@27914
     2
#
wenzelm@27914
     3
# Author: Makarius
wenzelm@27914
     4
#
wenzelm@27916
     5
# DESCRIPTION: invoke Java within the Isabelle environment
wenzelm@27914
     6
wenzelm@53576
     7
declare -a JAVA_ARGS; eval "JAVA_ARGS=($ISABELLE_JAVA_SYSTEM_OPTIONS)"
wenzelm@53346
     8
wenzelm@53584
     9
[ -n "$CLASSPATH" ] && classpath "$CLASSPATH"
wenzelm@53584
    10
unset CLASSPATH
wenzelm@53584
    11
wenzelm@58791
    12
isabelle_java java "${JAVA_ARGS[@]}" \
wenzelm@61294
    13
  -classpath "$(platform_path "$ISABELLE_CLASSPATH")" "$@"
wenzelm@41380
    14