MAVEN Configuration Mvn-v

Source: Internet
Author: User

The system environment variables in the MAVEN configuration are more stringent:

First, the JDK environment variables must be properly configured

java_home:d:\java\jdk1.6.0_37;

Calsspath:.;D: \ Java\jdk1.6.0_37\lib;d:\java\jdk1.6.0_37\lib\tools.jar;d:\java\jdk1.6.0_37\lib\dt.jar;

Path:d:\java\jdk1.6.0_37\bin; Path is original and only needs to be followed by


Manen Configuration

Path:d:\maven\apache-maven-3.0.5\bin; Path is original and only needs to be followed by


Attention:

1. If mvn-v is not an internal command or an external command ....

The JDK system environment variable is probably not configured properly

2. If mvn-v

Error:java_home is set to a invalid directory ...

Must be the D:\Java\jdk1.6.0_37 of java_home; The last semicolon ";"

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.