But if windows claims as in this case that the command is not known, then the PATH does not know the .exe, .com or .bat making the command and maven has ./bin/mvn.bat hence you have to add (as one points out previously %M2_HOME%\bin; to the PATH and there best to the SYSTEM not the USER Josef
-----Ursprüngliche Nachricht----- Von: Eric Kolotyluk [mailto:eric.koloty...@gmail.com] Gesendet: Freitag, 14. Oktober 2011 18:58 An: users@maven.apache.org Betreff: Re: How to install MAVEN on Windows 7 I use Maven on several Windows 7 systems and have had no real problems after setting up the environment variables properly. Other than that, Maven is just like any other Java application. In particular make sure maven\bin is on your Path or Path2 environment variables. Do you know how to set those in Windows? Cheers, Eric Cheers, Eric On 2011-10-13 7:23 PM, Wayne Fay wrote: >> What environment variables do I modify for Windows 7? The system does > not recognize the "mvn -version" command. > > What directions did you follow? > What commands did you execute? > > I am aware of nothing special about installing on Win7. I think you simply > skipped/missed a step or two in the documentation. > > Wayne > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org