How to install MAVEN on your system?

The following article will help you understand the use and step by step installation guide (Maven in 5 minutes)

To set-up MAVEN 3.3.9 on Windows 7 64-bit machine, you could follow the below steps. This should be a piece of cake, if you are doing it all right in the first go itself. To install you would firstly require the MAVEN’s zip file from here, the official MAVEN downloads page )

  • Once you are able to download MAVEN successfully, you need to set-up the following variables
    • M2_HOME
  • To do that, right-click on My Computer –> Properties –> Advanced System Properties –> Environment Variables –> System Variables
  • Click New and then click on Add
  • Considering that you would’ve already set-up your JAVA_HOME environment variable, go ahead and set the following variables:




This should be the folder location where you would’ve unzipped the Maven from the downloaded zip file


The official documentation refers to M2_HOME, but there are programs that refer to MAVEN from MAVEN_HOME environment variable. So to be on a safer side, it is recommended to set these two variables with the same path.

Edit the Path environment Variable and add %M2_HOME%\bin; at the end of the existing path


  • Apply and Close the System Properties
  • Open a new command prompt and type
    • mvn –version


Following will be the message to confirm that MAVEN is successfully installed on your local system:

Comments (8)

  1. Appreciating the time and effort you put into your site and in depth information you present. It’s great to come across a blog every once in a while that isn’t the same out of date rehashed information. Wonderful read! I’ve saved your site and I’m adding your RSS feeds to my Google account.

  2. Excellent weblog right here! Additionally your website loads up fast! What web host are you using? Can I am getting your affiliate hyperlink for your host? I want my site loaded up as fast as yours lol

  3. Good site you have here.. It’s hard to find good quality writing like yours nowadays. I seriously appreciate individuals like you! Take care!!

  4. Hi there just wanted to give you a brief heads up and let you know a few of the images aren’t loading correctly. I’m not sure why but I think its a linking issue. I’ve tried it in two different internet browsers and both show the same results.

  5. I pay a visit daily a few web sites and sites to read content, except this
    weblog gives feature based posts.

Comment here

This site uses Akismet to reduce spam. Learn how your comment data is processed.