Run Scala Compiled File On JVM

Since Scala is JVM based language (create .class file after compilation), JVM can run these classes.

java -cp .:/opt/scala-2.9.2/lib/scala-library.jar HelloWorld
java -cp .:${SCALA_HOME}/../lib/scala-library.jar HelloWorld
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License