lib/Tools/scalac
author wenzelm
Tue, 23 Jan 2018 16:37:57 +0100
changeset 67490 982f0bf34804
parent 61294 2d3d26e9b191
child 69126 e1b4b14ded58
permissions -rwxr-xr-x
more robust java.ext.dirs: avoid picking up accidental jars from system directories;

#!/usr/bin/env bash
#
# Author: Makarius
#
# DESCRIPTION: invoke Scala compiler within the Isabelle environment

isabelle_admin_build jars || exit $?

isabelle_scala scalac -Dfile.encoding=UTF-8 \
  "-Djava.ext.dirs=$(platform_path "$ISABELLE_JDK_HOME/jre/lib/ext")" \
  -classpath "$(platform_path "$ISABELLE_CLASSPATH")" "$@"