Window 7 Howto Install Apache Maven 3 Easy Visual-Guide

July 25th, 2012 by Regaz

The Guide Shows You Step-by-Step How-to Install and Getting-Started with the Latest Apache Maven 3 Release for Windows 7.

As Prerequisite there is Java so Inside the Post you will find a Link to Post on Installing the Latest Oracle-Sun Java JDK 7 for Windows 7 32/64bit.

To Make the Entire Easy to Understand and Visualize the Post Includes the Basic Screenshots of the essentials steps involved.

The Content give Focus Only to the Essentials Instructions and Commands to make it Easier to Understand;)

Apache on Windows
  1. Download Maven:

    Maven3 Binary .zip
  2. Unzip into:
    C:Program FilesApache Software Foundationapache-maven-

    Example for Maven 3.0.4:

    C:Program FilesApache Software Foundationapache-maven-3.0.4

  3. Open a Shell Window: Windows 7 Open Command Prompt
  4. Check if Java is Installed
    java -version

    If Not then Install Java:

    How-to Install Java JDK 7 on Windows 7
  5. Set-Up as Below Environment Variables and Path:

    Guide to Set Windows 7 Path and Environment Variables:

    How-to Setup Path and Variables on Windows 7

    Windows 7 Set-Up Environment Variables and Path for Maven

    • User Variables:
      1. JAVA_HOME = C:Program FilesJavajdk1.
      2. M3_HOME = C:Program FilesApache Software Foundationapache-maven-
      3. M3 = %M3_HOME%bin
    • User Path:

      Path = %M3%

  6. Test Maven Installation:
    1. Open a New Command Line Window

    2. Try to Execute:

      mvn --version

Tags: , , , , , , , , , ,