参考 https://www.runoob.com/maven/maven-setup.html
- 下载 https://dlcdn.apache.org/maven/maven-3/3.8.3/binaries/apache-maven-3.8.3-bin.zip
- 解压到
C:\Users\HenryFox\Documents\apache-maven-3.8.3
- 编辑系统环境变量 MAVEN_HOME 和 PATH
Scala安装:
- 下载 https://downloads.lightbend.com/scala/2.13.6/scala-2.13.6.msi
下面的步骤不行!!!!!!会报错!!!!Exception in thread "main" java.nio.file.InvalidPathException: Illegal char <:> at index 2: \C:\Program Files\Java\jdk-14.0.2\lib\tools.jar
- 下载 https://github.com/lampepfl/dotty/releases/download/3.0.2/scala3-3.0.2.zip
- 解压到
C:\Users\HenryFox\Documents\scala3-3.0.2
- 编辑系统环境变量 SCALA_HOME , PATH , CLASSPATH 。设置 Path 变量:只需要设置%SCALA_HOME%\bin;即可;设置 Classpath 变量:“变量值”:.;%SCALA_HOME%\bin;即可