I try to install maven in windows 7 64 bit. This is the path to the bin folder.
C:\apache-maven-3.0.4\apache-maven\src\bin
I am doing this:
- Create System variable MAVEN_HOME with value :
C:\apache-maven-3.0.4\apache-maven\src
- Append to Path variable
%MAVEN_HOME%/bin
This is the last part of the path
C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;%MAVEN_HOME%\bin
Edit: After doing this several times, when i get to cmd mvn -version i get this error message: JAVA_HOME not found in your environment
, this is the first time i get it, till now i got only invalid command, batch file not found
This is the path for java:
C:\Program Files\Java\jdk1.7.0\bin
- I created JAVA_HOME with the value
C:\Program Files\Java\jdk1.7.0
- Append to the path variables:
%JAVA_HOME%\bin
This is the last part of my path:
C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;%MAVEN_HOME%\bin;%JAVA_HOME%\bin
I am still getting JAVA_HOME not found in your environment.