Wednesday 16 April 2014

'mvn' is not recognized as an internal or external command, [closed]

First of all type this command

mvn -version


It should show some path where  maven has installed.

If maven is not installed install maven

After installation of maven
Type this command on command prompt
echo %MAVEN_HOME%

It should show the path if you would have had already setup environment variables.

If not please follow these steps to setup environment variables

Start-> Computer -> Right click on this
Click on -> Properties -> Advanced system settings ->


Advanced (tab)-> Environment Variables



Now click on "path" variable



Click on OK


Now again on command prompt type this one
echo %MAVEN_HOME%
it should show details



No comments:

Post a Comment