Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Spark Framework: building Scala Development Environment under Win10 system

Shulou Source: shulou.com Published: 2022-06-02 21:39:37 10月01日 Update

I. the basis of Scala environment

Scala wraps Java-related classes and interfaces, so it relies on the Jvm environment.

Jdk 1.8 scala relies on scala 2.11 installation version idea 2017.3 development tools II. Configure Scala decompressed version

1) Note that there are no spaces and Chinese in the path

2) configure environment variables

Add to the path directory

% SCALA_HOME%\ bin

3) check whether to install or not

The configuration is successful, yes, it is that simple.

Third, configure Idea development

1) plug-in installation is just a little bit by bit.

2) create two new maven projects

Create a scala folder under the main directory of scala-base-hello, marked as follows.

3) add scala framework

4) create scala code file

5) witness hello-scala together

Does this code look a little different?

4. Write at the end

It is said that everything is difficult at the beginning, but now it is a perfect start, and the rest must be simple!

Tags: Configuration environment development code that is files directories frameworks success everything is difficult at the beginning everything two variables four noes four nots basics tools development tools beginnings interfaces Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information macOS Shulou Tech Info Linux MySQL