mvn is not recognized on window

  1. Download apache-maven-x.x.x-bin.zip file and extract it. assume extract to D:\yourpath
  2. Then set new System variable 
    MAVEN_HOME = D:\yourpath\apache-maven-x.x.x

    or as appropriate

  3. Also add Path System variable 
    %MAVEN_HOME%\bin
  4. Re-Open CMD and test type 
    mvn

Related posts:

This entry was posted in knowledge. Bookmark the permalink.