Spark framework: build Scala development environment under win10 system

Time:2019-11-8

I. Scala environment foundation

Scala wraps Java related classes and interfaces, so it depends on the JVM environment.

JDK 1.8 Scala dependency
Scala 2.11 installation version
Idea 2017.3 development tools

2. Configure Scala decompression version

1) note that there is no space or Chinese in the path

Spark framework: build Scala development environment under win10 system

2) configure environment variables

Spark framework: build Scala development environment under win10 system

Add to path directory

%SCALA_HOME%\bin

3) check whether it is installed

Spark framework: build Scala development environment under win10 system

Configuration is successful, that’s right.

III. configure idea development

1) plug in installation is just a little bit

Spark framework: build Scala development environment under win10 system

2) two new Maven projects
Create the scala folder in the main directory of scala base Hello, as shown below.

Spark framework: build Scala development environment under win10 system

3) add Scala framework

Spark framework: build Scala development environment under win10 system

4) create Scala code file

Spark framework: build Scala development environment under win10 system

Spark framework: build Scala development environment under win10 system

5) witness Hello Scala together

Spark framework: build Scala development environment under win10 system

Does this code look a little different?

IV. write at the end

It’s said that everything is difficult at the beginning. Now it’s a perfect beginning. The rest must be simple.

Spark framework: build Scala development environment under win10 system

Recommended Today

The use of progressbarcontrol, a progress bar control of devexpress – Taking ZedGraph as an example to add curve progress

scene WinForm control – devexpress18 download installation registration and use in vs: https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/100061243 When using ZedGraph to add curves, the number of curves is slower if there are many cases. So in the process of adding curve, the progress needs to be displayed, and the effect is as follows     Note: Blog home page:https://blog.csdn.net/badao_liumang_qizhi […]