maven installation on windows

i realise that after following installation instructions on maven, maven fails to install as proved by not being recognised in cmd

1 Like

Oh sorry! You may also need the M2_HOME environment variable to be set that is you haven’t . Remember also to close the command window and open a new one to pick up env changes every time you change env variables.

this i have done

i have done this and it is all tick. thanks @jwnasambu

Change the System variable name from “M2_HOME” to “MAVEN_HOME”

Share a screenshot of your environment variables or better yet , follow This and share your cmd results

Hello @allan please try to follow the directions in this link; How to install maven on windows - HowToDoInJava