java - mvn --version not working? -
i have problem maven path have set path not working please see below path
path
....;c:\program files\java\jdk1.6.0_20\bin;d:\apache-maven-3.2.1\bin
java_home
c:\program files\java\jdk1.6.0_20
maven_home
d:\apache-maven-3.2.1
when try run mvn --version give error of java_home please see error
error: java_home set invalid directory. java_home = "c:\program files\java\jdk1.6.0_20\bin" please set java_home variable in environment match location of java installation.
but javac working fine
java_home
needs point folder contains bin/
, lib/
, etc.
your variable points inside of java's home folder.
Comments
Post a Comment