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