Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problems with maven installation

Hi I'm trying to install MAVEN, to my computer using this tutorial, I've set my enviroment variable MAVEN_HOME to point to my maven directory, and I put value of path_to_maven/bin inside another enviroment variable named Path and I get this error message:

C:\>mvn -version
'mvn' is not recognized as an in
operable program or batch file.

I've tried also to use PATH instead of Path but that doesn't solve it, what else can I do? I'm using windows 7..

like image 343
Gandalf StormCrow Avatar asked Jan 27 '10 14:01

Gandalf StormCrow


1 Answers

Go to path_to_maven/bin and type mvn -version. If that works then it's a PATH problem.
In MS-DOS's prompt type set PATH=path_to_maven/bin;%PATH%

like image 61
rodrigoap Avatar answered Oct 05 '22 00:10

rodrigoap