[Experiment 1] Installing SCALA under Widows

Install SCALA under Widows SCALA
download link
: https://pan.baidu.com/s/1zveojdx1PtHATixlVJFbJQ
extraction code: zzkt
Insert image description here

Download these two files. After downloading, click scala-2.11.8.msi to install (first install jdk under windows before you can install scala)

Insert image description here
Click next to install,
Insert image description here
check Iaccept the terms in the License Agreement, and then click next

Insert image description here
Change the installation path. You can customize the installation path. After selecting the installation path, click next.
Insert image description here

Click Install to install. There is one missing screenshot here. After clicking Install, the following interface will appear!
Insert image description here

Wait for the installation to complete, click Finish, and
then unzip scala-2.11.8.tgz

Find the folder you unzipped from and open the folder
Insert image description here

Right-click the file path in the upper left corner and select Copy Address

Insert image description here

Open Control Panel->Open System
Insert image description here

Find advanced system settings
Insert image description here

Click on environment variables

Insert image description here
Click New under System Variables (s) below
Insert image description here

Set the variable name to SCALA_HOME.
The variable address is the address of the decompressed scala-2.11.8, which is the address copied before. Click OK.
Insert image description here
Find Path under System Variables (Yes) and click Edit.
Insert image description here

Click New
Insert image description here

Enter %SCALA_HOME%\bin and click OK
Insert image description here

Then click OK one by one.
Insert image description here
Insert image description here
After installation, we can view the version information
by entering the compilation system under Windows. Press Windows+R and enter cmd to
Insert image description here
enter the command prompt window. Then enter scala -version to view the installation version information. The version information is displayed, indicating that scala is installed successfully.
Insert image description here

Install SCALA under Widows SCALA
download link
: https://pan.baidu.com/s/1zveojdx1PtHATixlVJFbJQ
extraction code: zzkt
Insert image description here

Download these two files. After downloading, click scala-2.11.8.msi to install (first install jdk under windows before you can install scala)

Insert image description here
Click next to install,
Insert image description here
check Iaccept the terms in the License Agreement, and then click next

Insert image description here
Change the installation path. You can customize the installation path. After selecting the installation path, click next.
Insert image description here

Click Install to install. There is one missing screenshot here. After clicking Install, the following interface will appear!
Insert image description here

Wait for the installation to complete, click Finish, and
then unzip scala-2.11.8.tgz

Find the folder you unzipped from and open the folder
Insert image description here

Right-click the file path in the upper left corner and select Copy Address

Insert image description here

Open Control Panel->Open System
Insert image description here

Find advanced system settings
Insert image description here

Click on environment variables

Insert image description here
Click New under System Variables (s) below
Insert image description here

Set the variable name to SCALA_HOME.
The variable address is the address of the decompressed scala-2.11.8, which is the address copied before. Click OK.
Insert image description here
Find Path under System Variables (Yes) and click Edit.
Insert image description here

Click New
Insert image description here

Enter %SCALA_HOME%\bin and click OK
Insert image description here

Then click OK one by one.
Insert image description here
Insert image description here
After installation, we can view the version information
by entering the compilation system under Windows. Press Windows+R and enter cmd to
Insert image description here
enter the command prompt window. Then enter scala -version to view the installation version information. The version information is displayed, indicating that scala is installed successfully.
Insert image description here

Guess you like

Origin blog.csdn.net/weixin_41786879/article/details/126603293