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

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
主站蜘蛛池模板: 资源县| 天全县| 始兴县| 淮滨县| 临江市| 凉城县| 沧州市| 班玛县| 海原县| 宜黄县| 同江市| 买车| 融水| 津市市| 蓬莱市| 文山县| 柞水县| 建昌县| 乐山市| 玉门市| 日照市| 宝山区| 弥勒县| 大化| 佛学| 兴宁市| 天峻县| 南昌市| 梓潼县| 巴彦淖尔市| 灌阳县| 宁乡县| 长寿区| 且末县| 亳州市| 永泰县| 南安市| 安阳县| 石首市| 随州市| 鱼台县|