Scala development environment set up under Win10 system: Spark framework

A, Scala environmental infrastructure

Scala for Java-related classes, interfaces were packed, so dependent on Jvm environment.

Jdk 1.8     scala 依赖
scala 2.11  安装版本
idea 2017.3 开发工具

Second, the configuration Scala decompression version

1) Note that the path without spaces and Chinese

Scala development environment set up under Win10 system: Spark framework

2) configuration environment variable

Scala development environment set up under Win10 system: Spark framework

Added to the directory path

%SCALA_HOME%\bin

3) detecting whether the installation

Scala development environment set up under Win10 system: Spark framework

Configuration is successful, that's right it is that simple.

Third, the configuration Idea Development

1) plug-in installation is little point

Scala development environment set up under Win10 system: Spark framework

2) Create two maven project
to create a folder in the main scala scala-base-hello directory, and labeled as follows.

Scala development environment set up under Win10 system: Spark framework

3) add a frame scala

Scala development environment set up under Win10 system: Spark framework

4) Create a scala code files

Scala development environment set up under Win10 system: Spark framework

Scala development environment set up under Win10 system: Spark framework

5) to witness the hello-scala

Scala development environment set up under Win10 system: Spark framework

This code is not look a bit grotesque?

Fourth, write at the end of

Say everything is hard in the beginning, is now off to a perfect head, and the rest must all be simple!

Scala development environment set up under Win10 system: Spark framework

Guess you like

Origin blog.51cto.com/14439672/2447231