summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeoffrey Washburn <geoffrey.washburn@epfl.ch>2008-02-04 15:25:47 +0000
committerGeoffrey Washburn <geoffrey.washburn@epfl.ch>2008-02-04 15:25:47 +0000
commitfa2d95497d3492578d3b3973ce7ee2b43c7daea2 (patch)
tree3c577e0e9f667cdfea265508861187cfb0b361b0 /src
parent11297162d14b5491869d51e33f1ce85e54c487dc (diff)
downloadscala-fa2d95497d3492578d3b3973ce7ee2b43c7daea2.tar.gz
scala-fa2d95497d3492578d3b3973ce7ee2b43c7daea2.tar.bz2
scala-fa2d95497d3492578d3b3973ce7ee2b43c7daea2.zip
Fixes #416.
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/InterpreterLoop.scala3
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()