下载安装jdk:
Java Downloads | Oracle
下载安装maven:
Maven – Download Apache Maven
windows系统选择 Binary zip archive
maven目录中的conf文件中有一个settins.xml文件
镜像(mirrors)二选一
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>*,!jeecg,!jeecg-snapshots</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
</mirror>
<!-- 阿里云仓库 -->
<mirror>
<id>alimaven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
</mirror>
settings.xml中配置本地仓库
在maven目录下自己新建一个repository文件
在settings.xml中配置对应的repository文件地址
<localRepository>F:\apache-maven-4.0.0\repository</localRepository>
系统环境变量:
新建JAVA_HOME
jdk安装路径
新建Classpath
.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;
配置path
%JAVA_HOME%\bin
%JAVA_HOME%\jre\bin
vscode扩展:
Extension Pack for Java
Debugger for Java
Maven for Java
Project Manager for Java
Test Runner for Java
Language Support for Java(TM) by Red Hat
Spring Initializr Java Support