官术网_书友最值得收藏!

Installing Scala on your computer

An excellent resource for Scala installation on your computer is the Scala official page at https://www.scala-lang.org/download/. It mentions how important it is to make sure that Java JDK 8 is installed on your machine. This can be checked by running the following command:

$ java -version

If it is missing or if you have an older version of JDK, please follow the instructions on Java SE downloads from https://www.oracle.com/technetwork/java/javase/downloads/index.html for your OS. Open JDK (http://openjdk.java.net/install/) is another resource for installing JDK.

Please note that a higher version of Java might work fine as well; however, the examples provided in this book have only been tested on Java 8.

A successfully installed JDK 8 should output something similar to the following code:

$ java -version
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)

$ javac -version

javac 1.8.0_181
主站蜘蛛池模板: 武定县| 太原市| 镇安县| 喀喇| 大田县| 萨嘎县| 梁河县| 定结县| 苍南县| 任丘市| 鄯善县| 朝阳区| 成安县| 南郑县| 临夏市| 平利县| 兴文县| 永修县| 赤水市| 汤原县| 迭部县| 游戏| 平舆县| 开封市| 陈巴尔虎旗| 虞城县| 鹤峰县| 阿巴嘎旗| 柘荣县| 武宣县| 肥乡县| 泊头市| 河西区| 淳安县| 微山县| 苏尼特左旗| 宁波市| 青铜峡市| 佛坪县| 辰溪县| 和平县|