diff options
author | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-02-04 15:25:47 +0000 |
---|---|---|
committer | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-02-04 15:25:47 +0000 |
commit | fa2d95497d3492578d3b3973ce7ee2b43c7daea2 (patch) | |
tree | 3c577e0e9f667cdfea265508861187cfb0b361b0 | |
parent | 11297162d14b5491869d51e33f1ce85e54c487dc (diff) | |
download | scala-fa2d95497d3492578d3b3973ce7ee2b43c7daea2.tar.gz scala-fa2d95497d3492578d3b3973ce7ee2b43c7daea2.tar.bz2 scala-fa2d95497d3492578d3b3973ce7ee2b43c7daea2.zip |
Fixes #416.
-rw-r--r-- | src/compiler/scala/tools/nsc/InterpreterLoop.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/InterpreterLoop.scala b/src/compiler/scala/tools/nsc/InterpreterLoop.scala index aa9e583355..b15cc8c54c 100644 --- a/src/compiler/scala/tools/nsc/InterpreterLoop.scala +++ b/src/compiler/scala/tools/nsc/InterpreterLoop.scala @@ -105,7 +105,8 @@ class InterpreterLoop(in0: Option[BufferedReader], out: PrintWriter) { /** Print a welcome message */ def printWelcome() { - out.println("Welcome to Scala " + Properties.versionString + ".") + out.println("Welcome to Scala " + Properties.versionString + " (" + + System.getProperty("java.vm.name") + ", Java " + System.getProperty("java.version") + ")." ) out.println("Type in expressions to have them evaluated.") out.println("Type :help for more information.") out.flush() |