Posted in Application Server, Java, JEE, JEE / J2EE / JSP / Servlets, Maven, Web Server

Install Maven on Windows 8

Maven on Windows 8

Download Apache Maven from Different versions are available so user can select the version as per need.

Extract the files from the compressed file of

Add Two Environment Variables, M2 and M2_HOME

Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers

Right Click on My Computer and select Properties

My Computer Properties

Click on Advance System Settings

Advance System Settings

It will open System Properties Dialogue box; click on Environment Variables

System Properties

Click on New and set M2_HOME


Set M2


M2 and M2_HOME

Edit PATH by appending C:apache-maven-3.2.1bin

Path Variable

Open the Command Prompt again and execute mvn –version command

mvn version command