1. 安装JDK
设置环境变量
JAVA_HOME C:\Program Files\Java\jdk1.8.0_45
CLASSPATH .;%JAVA_HOME%\lib;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;
修改Path,增加 %JAVA_HOME%\bin;
2. 安装maven
设置环境变量
MAVEN C:\apache-maven-3.3.3
修改Path,增加 %MAVEN%\bin
3. 安装idea,去百度直接下载
idea 配置
一、配置JDK
(1)单击File --> Project Structure --> Platform Settings --> SSKs
(2)若中间的SDK列表框没有选项,则单击“+”号创建一个JDK列表项,选择JDK的安装目录,如:C:\Program Files\Java\jdk1.8.0_45
(3)File --> Project Structure --> Project Settings --> Project --> Project SDK 选择对应的JDK
二、配置maven
(1)File --> Setting --> Build,Execution,Deployment --> Build Tools --> Maven,设置Maven home directory路径为maven的安装路径,如:C:/apache-maven-3.3.3
(2)可选:Maven的刷新设置为自动,File --> Setting --> Build,Execution,Deployment --> Build Tools --> Maven --> Importing,勾选Import Maven projects automatically
三、 Lombok
(1)安装Lombok,File --> Setting --> Plugins,搜索Lombok,点击安装