How to install Maven on Windows 10

In this tutorial, you will learn step by step how to install apache maven on windows 10 machine.

To install Apache Maven on Windows, you just need to download the Maven’s zip file, unzip it to a folder, and configure the Windows environment variables.

Video Tutorial - How to install Maven on Windows 10

The below video tutorial explained step by step how to install apache maven on windows 10 machine:

Quick Steps

1. JDK and JAVA_HOME
Make sure JDK is installed, and the JAVA_HOME environment variable is configured.

2. Download Apache Maven
Visit Maven official website, download the Maven zip file, for example, apache-maven-3.6.3-bin.zip.

3. Add MAVEN_HOME system variable
Go to the Environment variables -> System variables section in your windows 10 machine.
Add a MAVEN_HOME system variable, and point it to the Maven folder.

For Example:
variable name : MAVEN_HOME
variable value : c:\learn_java\apache-maven-3.6.3

4. Add %MAVEN_HOME%\bin To PATH
In system variables, find PATH, clicks on the Edit... button. In “Edit environment variable” dialog, clicks on the New button and add this %MAVEN_HOME%\bin

5. Verification
Done, start a new command prompt, type mvn –version

Comments