Preparing Maven on Windows 10

Maven also as known structure automation devices, it is extremely beneficial for java developers in making applications, ranging from job development, referencing outside libraries, collections, making paperwork. Meven is the appropriate companion for developers from starting throughout of the growth, until end of the application procedure.

Meven is developed by apache software foundation with free license software license type, and written with java programming language. I assume here, that you have installed java in your Operating System device, to make sure you have been install java properly, you can entered this command in terminal, to check the installed java version:

java -version
Java Status | Afrizzal P. Pratama
Fig 1: Java Status

Let’s start installing Maven on windows operating system:

Download Meven from Apache official website by following this link.

After downloading a zip file, Extract the installation file to a folder, for example in local C: \

Meven Directory on Windows | Afrizzal P. Pratama
Fig 2: Meven Directory on Windows

Open windows control panel and do a manually configure in Environment Variables tab.

Environment Variables tab | Afrizzal P.Pratama
Fig 3: Environment Variables tab

In the System variable create a new variable with following this input;

Create Maven Environment Variables in Windows | Afrizzal P. Pratama
Fig 4: Create Maven Environment Variables in Windows

Open PATH variable, make sure you add this variable in the end of the path “MAVEN_HOME%\bin”

Add Maven to PATH variable in Windows | Afrizzal P. Pratama
Fig 5. Add Maven to PATH variable

Please type mvn -v on command prompt, to check maven has been installed properly.

Maven has been installed | Afrizzal P. Pratama
Fig 6: Maven has been installed