How to install Maven on Windows

To install Apache Maven on Windows, you just need to download the Maven’s zip file, and Unzip it to the directory you wish to install, and configure the Windows environment variables.
Tools Used :
  1. JDK 1.8
  2. Maven 3.5.2
  3. Windows 10
1. Make sure JDK is installed, and “JAVA_HOME” variable is added as Windows environment variable.








2. Download Apache Maven

3. Add both M2_HOME and MAVEN_HOME variables in the Windows environment, and point it to your Maven folder.

4. Add to PATH






















5. Cross check

Open up a command prompt and run the command mvn -version











Hope this helps :)

No comments:

 Python Basics How to check the version of Python interpreter mac terminal

Popular in last 30 days