I am a newbie to Scala, it\'s the first time I\'m running Scala, when I installed Scala, I created a file named Hello.scala, the content is:
pr
Adding -nc flag saved my day.
scala -nc Hello.scala
What is -nc?
-nc no compilation daemon: do not use the fsc offline compiler
Source: http://alvinalexander.com/java/jwarehouse/scala-2.11/compiler/scala/tools/nsc/GenericRunnerCommand.scala.shtml
What is fsc offline compiler?
fsc – Fast offline compiler for the Scala 2 language
Source: http://www.scala-lang.org/old/sites/default/files/linuxsoft_archives/docu/files/tools/fsc.html