How To Install Maven On Windows 10

If JDK is installed on your Windows machine then you certainly can jump to maven installation steps which I have mentioned below. To install JDK you could possibly refer my earlier post for comprehensive guideline.
Steps to fit Maven on Windows 10
- Set JAVA_HOME path
- Download Maven Zip
- Setup environment variable for Maven (M2_HOME)
- Verify installation
1) Setup JAVA_HOME
Please be sure to have set the JAVA_HOME path after installing of the JDK. You may refer my previous article to build JAVA_HOME path in Windows machine.
How to put JAVA_HOME path in Windows 10
2) Download Maven Zip
Download maven zip file through the official website and extract it towards the directory you wish to setup. And configure the surroundings variable. I have downloaded apache-maven-3.5.0-bin.zip under C:Program FilesMaven for demonstration purpose.
3) Add new environment variables for Maven (M2_HOME) and append it for the PATH variable
Add M2_HOME variables within the Windows environment variable, and point it in your Maven folder.
Update PATH variable and append maven bin folder %M2_HOME%bin to PATH variable
4) Verify Installation
Go to windows command line and verify maven setup.

1. Set JAVA_HOME path
2. Download Maven Zip
3. Setup environment variable for Maven (M2_HOME)
4.