I've followed this thread since I'm dealing with the same problem. I've substituted Path value for the whole M2_HOME value and it's not working.
Any other suggestions? Cappoli, William wrote: > > Chris, > > Your suggestion of writing the entire path into the path variable > worked. > > Thanks everyone > > > Bill Cappoli > Intermediate Business Systems Analyst > Roc IT > Phone - 1-800-969-8787 ext. 6795 > Fax - 1-800-644-6262 > > > -----Original Message----- > From: news [mailto:[email protected]] On Behalf Of Chris Lieb > Sent: Monday, April 13, 2009 3:18 PM > To: [email protected] > Subject: Re: Mvn command not recognized > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 4/13/2009 2:01 PM, Cappoli, William wrote: >> -----Original Message----- >>> From: Wayne Fay [mailto:[email protected]] >>> Sent: Monday, April 13, 2009 2:57 PM >>> To: Maven Users List >>> Subject: Re: Mvn command not recognized >>> >>>> Anybody have any ideas as to how to fix this? >>>> >>> Install Maven into a path that does not have any spaces, eg c:\dev. >>> >>> Wayne >>> >> Thanks for the suggestion however I still have to type out the whole >> path except I no long need the quotation marks. >> >> >> Bill Cappoli >> > Are you restarting cmd after you set the PATH variable? The spaces > should not matter, as I have many spaces in paths that are in my PATH > variable and do not have any issues. > > A thought: have you tried replacing %M2_HOME% in PATH with the actual > value of M2_HOME? I think I remember running into an instance where > Windows didn't do the substitution in the PATH variable. > > Chris Lieb > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iQEcBAEBAgAGBQJJ45ACAAoJEJWxx7fgsD+CdU0H/2efhrLqaCJrBinSLgkw+62W > bN/tAnuyYr8Fbkm7ds/g/IavKCHT1kZrL57Q/67vtEB8ggLPHJlvil16vSoz4Nt2 > kwvTVAPls4FgttQx9dyGDDNZjy1Yqb/8ToNGPhW4NA8tiawkZ3q5EVRqxdvN+rla > LDY99o9WuG9ew6iiXK9oAuUt2zJa0YslVPdd+4nILLuWa4xitc5HFNJjTnNx1zLo > zg85b6GsxIx9fvPwclRDrmEeTvMkb/UkjphTJMgOO4B5uPO4kdpcEPitamDf5Vva > f3gZIf8UIuyHvsesAYqH6xKDRD5eKkJNdVYfUeson5sDJQFymunLeImv8aMkIc0= > =RcJQ > -----END PGP SIGNATURE----- > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > ------------------------------------------------------------------------------ > This message may contain confidential or proprietary information intended > only for the use of the addressee(s) named above or may contain > information that is legally privileged. If you are not the intended > addressee, or the person responsible for delivering it to the intended > addressee, you are hereby notified that reading, disseminating, > distributing or copying this message is strictly prohibited. > If you have received this message by mistake, please immediately notify us > by replying to the message and delete the original message > and any copies immediately thereafter. > > > ============================================================================== > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://www.nabble.com/Mvn-command-not-recognized-tp23026786p23060159.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
