How to Install Maven on Windows

In the tutorial, we show how to install Maven on Windows.

– Windows 10
– Java 10
– Lastest Maven 3.5.4

Related posts:
Maven Introduction – Part 1
Maven Introduction – Part 2: Maven Repositories and Plugins
Part 3: Maven Dependency Mechanism
Maven Introduction – Part 4: Maven Build LifeCycle
Unit Test – Maven skip test with SpringBoot

Installed Java

Maven is written in Java -> Make sure you had installed Java.
Check it by cmd: java -version

Install-Maven-in-Windows +check-Java-version

Install Maven on Windows

Before install maven, check cmd mvn -v ->

Install-Maven-in-Windows +check-maven-cmd-before-install

Download Maven

Go to

-> Download latest Maven

Install-Maven-in-Windows +download-maven-3.5.4

Install Maven

Extract it, we get a folder apache-maven-3.5.4 ->

Install-Maven-in-Windows +extract-maven-3.5.4

Copy whole folder apache-maven-3.5.4 to C:\Program Files ->

Install-Maven-in-Windows +copy-maven-to-c-folder

Go to Control Panel\All Control Panel Items\System, choose Advanced system settings.
Then add C:\Program Files\apache-maven-3.5.4\bin to Path variable ->


Finish the setup by press OK to apply all settings.

Check mvn -v ->

Install-Maven-in-Windows +maven-install-successfully

Now Maven is installed successfully!

12 thoughts on “How to Install Maven on Windows”

  1. 543685 493692Id need to speak with you here. Which is not some thing I do! I spend time reading an post that could get men and women to feel. Also, appreciate your permitting me to comment! 716732

  2. 58678 919101Informative Site Hello guys here are some links that contains information that you may discover useful yourselves. Its Worth Checking out. 140898

  3. Enjoy ones site as its directly to the point but not technical. I’m keen on gadgets as well as anything tech connected thats the reason why i posted right here. are you carrying out some sort of up-date soon because I am engaged in your niche. I am going to return before long and even sign up to your blog. cheers.

  4. Nice one for taking a few minutes to talk about this amazing, I think highly concerning it as well as absolutely love browsing regarding the issue. Any time prospects, because you gain skill, what views posting to the journal by having added data? This is very helpful for everyone.

  5. Nice post. I understand some thing much harder on diverse blogs everyday. Most commonly it is stimulating to study content using their company writers and rehearse a little something from their store. I’d would prefer to apply certain with all the content in this little blog regardless of whether you don’t mind. Natually I’ll provide link on your web blog. Many thanks sharing.

  6. Hey! This is my 1st comment here so I just wanted to give a quick shout out and say I genuinely enjoy reading through your articles. Can you recommend any other blogs/websites/forums that go over the same topics? Thank you so much!

Leave a Reply

Your email address will not be published. Required fields are marked *