Maven learns one of the local (Windows) installations

Source: Internet
Author: User

Step1. Check for JDK installation:

The MAVEN operation requires JDK support, at least jdk1.4, as follows:

Start >cmd>java-version, if the JDK information is successful, such as to indicate that the JDK is installed, otherwise install.

  

Step2. Download maven

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

Step3. Local Installation

Unzip the downloaded MAVEN into a specific folder, such as my decompression path: E:\maven\apache-maven-3.2.5,

STEP4. Configuring environment variables to configure MAVEN installation in the operating system environment

Start > Computer Right-click Properties > Advanced System Settings > Advanced > Environment variables, create a new system variable in the system variable column, variable name: m2_home, Variable Value E:\maven\apache-maven-3.2.5, and just the decompression path. After the completion of the station to the path variable, edit, add at the end; %m2_home%\bin; Note that the front, the number is not necessary to see before, there is no need, otherwise, to add,

Step5. Check if the installation was successful

Starting >cmd>, typing mvn-version, if present, proves successful installation

  

  

  

Maven learns one of the local (Windows) installations

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.