One-stop installation of JDK+myeclipse+maven on Windows

1. Install the JDK
download address https://www.oracle.com/cn/java/technologies/javase/javase-jdk8-downloads.html
select insert image description here
Oracle users to download, run after downloading, select the installation path
insert image description here
insert image description here
in the back Pay attention to the installation directory, the configuration environment variables will be useful, and the next step is basically no brain

Configure environment variables
insert image description here
insert image description here

insert image description hereCheck whether there is a "classpath" variable in the system variables. If not, create a new variable with the variable name classpath variable value.;%JAVA_HOME%\lib; Note that this variable value starts with an English period symbol and ends with a division. Then click OK to return to the Environment Variables dialog.
insert image description here
Finally, find the Path variable in the system variables. Note that this time, click the edit button. In the pop-up dialog box, the last variable value must be the last, and add the following string: ;%JAVA_HOME%\bin;%JAVA_HOME% \jre\bin. Note that the first preceding is a semicolon. If there is no Path variable, add a Path variable, the adding steps are the same as before, and will not be repeated.
insert image description hereThen make sure to return to the desktop, then open the "Command Prompt" (run as an administrator), enter java –version, and if the output shown in the figure below appears, it means that the jdk installation is successful. 2. Install
insert image description here
eclipse

Download the installation package from the official website of this low batch https://www.myeclipsecn.com/download/

I actually use the baidu network disk to save the installation package, this official website is very impressive

Unzip it directly after downloading, and then run the exe
insert image description here
insert image description here
insert image description here
insert image description here
to pay attention to the installation path
insert image description here
insert image description here
insert image description here
. The eclipse installation is so friendly

3. Install maven

Download from the official website
https://maven.apache.org/download.cgi
insert image description here
After decompression, replace the warehouse with Ali.
insert image description here
You need to add it manually. Pay attention to the path.
Create a new local warehouse

C:/apache-maven-3.8.1/repo
insert image description here

    <mirror>  
           <id>alimaven</id>  
           <name>aliyun maven</name>  
           <url>http://maven.aliyun.com/nexus/content/groups/public/</url>  
           <mirrorOf>central</mirrorOf>          
    </mirror>

Pay attention to putting it inside <mirrors>

insert image description here
Don't forget to create a new repo directory
insert image description here

Add environment variables

insert image description here

There is also a PATH
insert image description here
test,
enter mvn --version
insert image description here
on the command line, and you're done

Supongo que te gusta

Origin blog.csdn.net/qq_35855396/article/details/117461865
Recomendado
Clasificación