First, make sure you have the Java JDK installed. Need help running the binaries? Check Scala version $ scala -version. Verify the JDK installation on your machine. The easiest way to install Scala would be to use the.
On the download page you can see the newest stable version. I also teach Full Stack Web Development with Django ! The plugin wants to know where the Scala libraries are installed (as it would want to know where the Java SDK is located for a Java module). Note that for different Scala projects you might use different versions of Scala : 2. The dialog offers to download them or you can go to the Scala site . Where is SCALA_HOME on Ubuntu ? Кеш Схожі Перекласти цю сторінку Update: Scala 2. Ubuntu default apt repository gives us option to install only scala -2. It might be that you already have installed Scala on your ubuntu OS. You can remove it using the following command.
In some cases Scala seems to have problems with openjdk-therefore we have to install the sun version of the JDK: . This step is not necessary). Scala Environment Setup – Learning Scala Programming Language in simple and easy steps. Before you start installing Scala on your machine, you must have Java 1. We assume that the readers of this tutorial have Java SDK version 1. The interpreter is generally well-suited for small tests and experiments, and less for program development.
The lates IDE supports development of Scala version 2. Earlier versions of the IDE required a separate installation to develop programs in each of the language . After the installation , IntelliJ IDEA will keep track of the plugin updates and will suggest you to update the plugin when a new version is available. Java(TM) SE Runtime Environment (build .0_72-b)_ Java HotSpot(TM) 64-Bit Server VM (build 22-b0 mixed mode). In next step is install Scala , follow the following instructions to set up Scala. First download the Scala from here.
Copy downloaded file to some location for . However, much of the development experience Play is known for (routes, templates compilation and auto-reloading) is provided by SBT. SBT ( Scala Build Tool, formerly Simple Build Tool) is an open source build tool for Scala and Java projects, similar to Java’s Maven and Ant. SBT is a modern build tool. While it is written in Scala and provides many Scala conveniences, it is a general purpose build tool.
Install SBT ( Scala Build tool).