IDEA开发环境初始化配置

支撑环境

1. 安装jdk(jdk-8u311-windows-x64)

Java Archive Downloads - Java SE 8u211 and later

JAVA_HOME : C:\Program Files\Java\jdk1.8.0_311

CLASSPATH:.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar

PATH: %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;

C:\Users\Eric>java -version
java version "1.8.0_311"
Java(TM) SE Runtime Environment (build 1.8.0_311-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.311-b11, mixed mode)

2. 安装maven(3.6.3)

Maven – Download Apache Maven

解压

MAVEN_HOME : D:\software\apache-maven-3.6.3

PATH: %MAVEN_HOME%\bin

C:\Users\Eric>mvn --version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: D:\software\apache-maven-3.6.3\bin\..
Java version: 1.8.0_311, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_311\jre
Default locale: zh_CN, platform encoding: GBK
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

在maven目录下创建repository文件夹

D:\software\apache-maven-3.6.3\repository

修改settings.xml(D:\software\apache-maven-3.6.3\conf\settings.xml)

D:\software\apache-maven-3.6.3\repository

配置阿里云仓库

    
        aliyunmaven
        *
        阿里云公共仓库
        https://maven.aliyun.com/repository/public
    

在cmd中运行mvn help:system验证本地仓库中有下载文件。

添加aliyun仓库


    alimaven
    central
    aliyun maven
    http://maven.aliyun.com/nexus/content/repositories/central/

    
      maven-default-http-blocker
      external:http:*
      Pseudo repository to mirror external repositories initially using HTTP.
      http://0.0.0.0/
      true
    
  

配置jdk


      jdk-1.8
      
        true
        1.8
      

      
        1.8
        1.8
        1.8
      

3. 安装git

Git - Downloading Package

IDEA开发环境初始化配置_第1张图片

采取默认安装选项即可,安装后自动添加环境变量Path, D:\Program Files\Git\cmd

4. tomcat

4.1 使用s

你可能感兴趣的:(IDEA,intellij-idea,java,maven)