Installing MAVEN on Windows

Source: Internet
Author: User

First, installation

To install Apache maven on a Windows system, you need to download the Maven zip file and unzip it to the directory you want to install and configure the Windows environment variables.  

1. Required Tools

JDK 1.8

Maven 3.3.9

Windows 7

2. JDK and Java_home

Ensure that the java_home of the JDK and settings are fixed

3. Download maven

Address: http://maven.apache.org/download.cgi

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/8C/1F/wKioL1hjJu-DACwHAAA-eupysUg438.png "border=" 0 " Style= "line-height:1.6;" alt= "Wkiol1hjju-dacwhaaa-eupysug438.png"/>

4. Installation

Unzip the downloaded zip file into your pre-set directory: D:\maven

5. Add M2_home and Maven_home

Add the M2_home and Maven_home environment variables to the WINDOWS environment variable and point it to your MAVEN folder.

Note:

Maven says it just adds M2_home, but some projects still refer to Maven's folder Maven_home, so add it for security.

6. Add to environment variable-PATH

Update the PATH variable, add the Maven Bin folder to the end of path, such as:%m2_home%\bin, so that you can run the MAVEN command in any directory in the command.

7. Verification

Executing MVN version in the command window

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/8C/22/wKiom1hjJu_TBlZcAAAX3Lmz95k397.png "border=" 0 "alt = "Wkiom1hjju_tblzcaaax3lmz95k397.png"/>

Description Success!






Installing MAVEN on Windows

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.