direct scala toplevel tools to ISABELLE_JDK_HOME;
authorwenzelm
Thu Apr 12 23:03:25 2012 +0200 (2012-04-12)
changeset 474412fa904af222f
parent 47440 22086019167b
child 47442 3efc06fc8d61
direct scala toplevel tools to ISABELLE_JDK_HOME;
lib/Tools/scala
lib/Tools/scalac
     1.1 --- a/lib/Tools/scala	Thu Apr 12 22:59:00 2012 +0200
     1.2 +++ b/lib/Tools/scala	Thu Apr 12 23:03:25 2012 +0200
     1.3 @@ -6,6 +6,8 @@
     1.4  
     1.5  [ -e "$ISABELLE_HOME/Admin/build" ] && { "$ISABELLE_HOME/Admin/build" jars || exit $?; }
     1.6  
     1.7 +export JAVA_HOME="$ISABELLE_JDK_HOME"
     1.8 +
     1.9  CLASSPATH="$(jvmpath "$CLASSPATH")"
    1.10  isabelle_scala scala -Dfile.encoding=UTF-8 \
    1.11    "-Djava.ext.dirs=$("$ISABELLE_HOME/src/Tools/JVM/java_ext_dirs")" "$@"
     2.1 --- a/lib/Tools/scalac	Thu Apr 12 22:59:00 2012 +0200
     2.2 +++ b/lib/Tools/scalac	Thu Apr 12 23:03:25 2012 +0200
     2.3 @@ -6,6 +6,8 @@
     2.4  
     2.5  [ -e "$ISABELLE_HOME/Admin/build" ] && { "$ISABELLE_HOME/Admin/build" jars || exit $?; }
     2.6  
     2.7 +export JAVA_HOME="$ISABELLE_JDK_HOME"
     2.8 +
     2.9  CLASSPATH="$(jvmpath "$CLASSPATH")"
    2.10  isabelle_scala scalac -Dfile.encoding=UTF-8 \
    2.11    "-Djava.ext.dirs=$("$ISABELLE_HOME/src/Tools/JVM/java_ext_dirs")" "$@"