Hi there, Make sure the variable M2_HOME exists and that it is added as your system variable
on cmd try echo %M2_HOME% to see if prints the maven directory try to copy the path and open in explorer to make sure it points to the correct directory. The cmd will only pick up changes on the system variables once restarted. Regards, João On Wed, Sep 10, 2008 at 4:00 PM, Godbole, Prajakta <[EMAIL PROTECTED] > wrote: > Hi Trent, > > Thanks for the note. I added the bin directory %M2_HOME%\bin in my path > value and tried running the command again. It still gives the same error > message. Any other suggestions? > > Thanks, > Prajakta > > -----Original Message----- > From: Trent Rosenbaum [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 10, 2008 11:55 AM > To: Maven Users List > Subject: Re: Need help with installation (Windows) > > Hi there, > > You will need to add the bin directory under the maven home to your path > environment variable. > > Trent > > > On 10/09/2008, Godbole, Prajakta <[EMAIL PROTECTED]> wrote: > > > > Hi > > > > > > > > I installed maven on my Windows machine using the instructions on > > http://maven.apache.org/download.html#Requirements. > > > > I cannot successfully complete step 7 - Open a new command prompt > > (Winkey + R then type cmd) and run mvn --version to verify that it is > > correctly installed. > > > > > > > > I get the following message when I type in mvn -2.0.9. > > > > "'mvn' is not recognized as an internal or external command, operable > > program or batch file." > > > > > > > > Please let me know how to verify if maven has been correctly > installed. > > > > > > > > Thanks, > > > > Prajakta > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Ivanir João Kreuzberg
