Wow! Rahul! You need to learn to crawl before you can learn to walk. This is not a Maven problem. You need to go to your manager or to a co-worker or to your cool friend with the following questions:
1. How do I run commands from a command prompt in Windows? 2. What's the difference between an environment variable and a command or an executable program? 3. What's the PATH environment variable for and how does it relate to my being able to run a program in Windows? That's just for a start. I'm not trying to put you down, we've all been there at one time, but you're going to have a lot of grief trying to learn any tool like Maven without improving your computer literacy first. And you'll start to irritate the folks on this list if you keep coming at them with these types of questions. Matt > -----Original Message----- > From: rahul bhalla [mailto:[email protected]] > Sent: Wednesday, July 18, 2012 1:00 PM > To: Maven Users List > Subject: Re: problem in installing/running maven > > I also noticed that when issue give command > > C:\Users\sahil>%JAVA_HOME% > 'C:\Program' is not recognized as an internal or external command, > operable program or batch file. > but i set JAVA_HOME to C:\Program Files\Java\jdk1.6.0_21 > > that means it is not displaying full java_Home Path > > On Thu, Jul 19, 2012 at 12:08 AM, rahul bhalla > <[email protected]>wrote: > > > when issue the command it gives > > C:\Users\sahil>%M2_HOME% > > 'D:\springsource\apache-maven-3.0.3' is not recognized as an internal > or > > external > > operable program or batch file. > > > > > > -- > Regards > Rahul Bhalla > (9953225211) ______________________________________________________________________ This message, including any attachments, is confidential and contains information intended only for the person(s) named above. Any other distribution, copying or disclosure is strictly prohibited. If you are not the intended recipient or have received this message in error, please notify us immediately by reply email and permanently delete the original transmission from all of your systems and hard drives, including any attachments, without making a copy. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
