> *C:\Users\sahil>mvn --version* > 'mvn' is not recognized as an internal or external command, > operable program or batch file > > if the directory is changes to* C:\Program Files\apache-maven-3.0.4\bin>* > then it runs .
Please do not install Maven (or really anything) under Program Files, or any other directory with a space in it. Spaces in directory names can and will make your life more difficult. Make a c:\dev or c:\code or c:\projects, really anything, and install there. Then try to follow the instructions again and see if it works. Wayne --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
