-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 4/13/2009 2:01 PM, Cappoli, William wrote: > -----Original Message----- >> From: Wayne Fay [mailto:wayne...@gmail.com] >> 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: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org