Scala is JVM based language and require Java JDK installed
Steps to install Scala locally :
1. Check if you have Java already installed by using below command on command line.
- Press Window+R and Type "cmd" then hit enter
- Type "java -version" to check java version installed on your system.
else install Java JDK from oracle website and then check again "java -version" and then move to step 2.
2. Download Scala latest version (2.* or 3.*) and install it on your system
- Go to website - https://www.scala-lang.org/download/
- Click on - Pick up specific Release
- Click on version (example : Scala 3.1.1) then follow installation steps from landing page.
scala> scala test.scala
No comments:
Post a Comment