% SCALA_RUNNER_DEBUG=true scala210 -nobootcp
saved stty:
gfmt1:cflag=4b00:iflag=6902:lflag=200005cf:oflag=3:discard=ff:dsusp=19:eof=4:eol=ff:eol2=ff:erase=7f:intr=3:kill=15:lnext=16:min=1:quit=1c:reprint=12:start=11:status=14:stop=13:susp=1a:time=0:werase=17:ispeed=38400:ospeed=38400
/Library/Java/JavaVirtualMachines/jdk1.7.0_17.jdk/Contents/Home/bin/java
-Xmx256M
-Xms32M
-classpath
/scala/inst/scala-2.10.1/lib/akka-actors.jar:/scala/inst/scala-2.10.1/lib/jline.jar:/scala/inst/scala-2.10.1/lib/scala-actors-migration.jar:/scala/inst/scala-2.10.1/lib/scala-actors.jar:/scala/inst/scala-2.10.1/lib/scala-compiler.jar:/scala/inst/scala-2.10.1/lib/scala-library.jar:/scala/inst/scala-2.10.1/lib/scala-partest.jar:/scala/inst/scala-2.10.1/lib/scala-reflect.jar:/scala/inst/scala-2.10.1/lib/scala-swing.jar:/scala/inst/scala-2.10.1/lib/scalap.jar:/scala/inst/scala-2.10.1/lib/typesafe-config.jar
-Dscala.home=/scala/inst/scala-2.10.1
-Dscala.usejavacp=true
scala.tools.nsc.MainGenericRunner
Welcome to Scala version 2.10.1 (Java HotSpot(TM) 64-Bit Server VM, Java 1.7.0_17).
Type in expressions to have them evaluated.
Type :help for more information.
scala>
The -nobootcp option is documented in scala -help.
% scala210 -help
Usage: scala <options> [<script|class|object|jar> <arguments>]
or scala -help
All options to scalac (see scalac -help) are also allowed.
The first given argument other than options to scala designates
what to run. Runnable targets are:
- a file containing scala source
- the name of a compiled class
- a runnable jar file with a valid Main-Class attribute
- or if no argument is given, the repl (interactive shell) is started
Options to scala which reach the java runtime:
-Dname=prop passed directly to java to set system properties
-J<arg> -J is stripped and <arg> passed to java as-is
-nobootcp do not put the scala jars on the boot classpath (slower)
Other startup options:
-howtorun what to run <script|object|jar|guess> (default: guess)
-i <file> preload <file> before starting the repl
-e <string> execute <string> as if entered in the repl
-save save the compiled script in a jar for future use
-nc no compilation daemon: do not use the fsc offline compiler
A file argument will be run as a scala script unless it contains only
self-contained compilation units (classes and objects) and exactly one
runnable main method. In that case the file will be compiled and the
main method invoked. This provides a bridge between scripts and standard
scala source.
Options for plugin 'continuations':
-P:continuations:enable Enable continuations