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 :
- JDK 1.8
- Maven 3.5.2
- 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:
Post a Comment