I have downloaded the maven 3.5.0 from here. I have set it in the path:
C:\apache-maven-3.5.0
Then i treid to add it to the path of Windows 7
as below:
Right click on my computer
Properties
Advanced System Setting
Environment Variable
New user variable and added Maven_Home
with value C:\apache-maven-3.5.0
Add it to path variable with: %Maven_Home%\bin
Open cmd
and ask for mvn -version
in desktop
Result:
It does not recognize maven
The problem get solved when i edit the path
variable with ;%Maven_Home%\bin;
so i should add the ;
before and after it.