- Java Development Kit (JDK)
- Scala Build Tool (SBT)
- Editor such as Eclipse,Intellij IDE or any other IDE of your choice
Check whether you have Java installed by typing in the console:
Good job guys 😊, Hope this blog helps you !!!
java
or check the latest version
java -version
If not installed then download java from the Oracle website ,run installer and include bin directory of installed JDK in Path environment variable as explained here.
Download SBT tool from here. Run the installer and include the bin directory (usually located under C:\Program Files\sbt\bin) in Path environment variable. Check if installed by typing in console
sbt
you will see something like
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[info] Set current project to Users (in build file:/C:/Users)
Also you can find the folder .sbt installed under C:\Users\User_Profile\.sbt
Lastly we focus on choosing IDE. Mostly recommended is Intellij IDE as it showcase the environment to run Scala application, but here I will spotlight on using Eclipse.
For Scala we have two options to use Eclipse, 1) either use any existing eclipse IDE (Kepler onwards is preferred as Scala plugin is not supported below Kepler) or 2) use Scale IDE for Eclipse which is very easy - download and use in 2 minutes.
If using regular Eclipse, choose Help/Install => New Software and paste the URL http://download.scala-ide.org/sdk/lithium/e46/scala211/stable/site. You would be provided with the options to install Scala for Eclipse IDE, accept it and download completes. Eclipse will restart.
Now you can create new Scala project if you find the Scala related options under File =>New
If using regular Eclipse, choose Help/Install => New Software and paste the URL http://download.scala-ide.org/sdk/lithium/e46/scala211/stable/site. You would be provided with the options to install Scala for Eclipse IDE, accept it and download completes. Eclipse will restart.
Now you can create new Scala project if you find the Scala related options under File =>New
Good job guys 😊, Hope this blog helps you !!!
No comments:
Post a Comment