lib/Tools/java
changeset 41380 92237dee0f29
parent 36238 344377ce2e0a
child 41622 ad5474a8374b
equal deleted inserted replaced
41379:b31d7a1cd08f 41380:92237dee0f29
     3 # Author: Makarius
     3 # Author: Makarius
     4 #
     4 #
     5 # DESCRIPTION: invoke Java within the Isabelle environment
     5 # DESCRIPTION: invoke Java within the Isabelle environment
     6 
     6 
     7 CLASSPATH="$(jvmpath "$CLASSPATH")"
     7 CLASSPATH="$(jvmpath "$CLASSPATH")"
     8 exec "${THIS_JAVA:-$ISABELLE_JAVA}" "$@"
     8 
       
     9 JAVA_EXE="${THIS_JAVA:-$ISABELLE_JAVA}"
       
    10 if "$JAVA_EXE" -server >/dev/null 2>/dev/null
       
    11 then
       
    12   exec "$JAVA_EXE" -server "$@"
       
    13 else
       
    14   exec "$JAVA_EXE" "$@"
       
    15 fi
       
    16