
Qian Wenyi detection method described here will not be described. Install Scala on window The first step: Java settings Note: at compile time, if Chinese will be garbled phenomenon, Solution View: Scala solve the Chinese garbled Type in expressions to have them evaluated. Welcome to Scala version 2.11.7 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_31). :! Wq save and exit and restart the terminal, execute the scala command, the following output information indicates that the installation was successful: $ scala

Modify environment variables, if not into the administrators can use sudo administrator privileges, modify the configuration file profile: vim /etc/profileĪt the end of the file is added: export PATH="$PATH:/usr/local/share/scala/bin" Unzip the file package, which can be moved to under / usr / local / share: mv scala-2.11.7 scala # 重命名 Scala 目录 Next, we can from Scala official website address Download Scala binary package for this tutorial we will download the 2.11.7version, as shown below: If it is installed, you can refer to our Java Development environment configuration. Enter the following command: $ javac -version Then we can see if the installed Java compiler. Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode) Java(TM) SE Runtime Environment (build 1.8.0_31-b13)

We can use the following command to check whether the installed Java: $ java -version Make sure you install a local and JDK 1.5 or later, and set up JAVA_HOME environment variables and the JDK bin directory.

Set environment variable mac for java mac os x#
Scala installation on Mac OS X and Linux The first step: Java settings Scala is based on java, you must install the Java (> 1.5 versions) Before using the java libraries and a large number of variables, you must use Scala. Scala language can run on Window, Linux, Unix, Mac OS X systems.
