Installing Maven on Windows 7


Tools Used:

  1. JDK 1.6
  2. Maven 3.1.1
  3. Windows 7

Step 1: Install Java if not already installed

 Install Java and add/update the JAVE_HOME variable


Step 2: Download Maven

Choose a version and download apache-maven-* file from here

Step 3: Extract It

Extract the downloaded zip file into desired location.

Step 4: Add MAVEN_HOME

Now, set the MAVEN_HOME variable just as you did for JAVA_HOME variable.


Step 5: Update Path variable

Append up to bin folder path in variable value, so that you can run the Maven’s command everywhere.


Step 6: Verify installation

Open command prompt. Type mvn –version in command prompt and hit enter.


If you see similar output as above, means your Apache Maven is installed successfully J


%d bloggers like this: