java - Maven configeration error - (JAVA_HOME is set to an invalid directory) -
i have installed apache- maven in windows, , set environmental variables :
m2_home - c:\users\bg4730\apache-maven-3.3.9; m2 - %m2_home%\bin; java_home - c:\program files\java\jdk1.8.0_74;
even though getting (java_home set invalid directory) when trying check maven installation command line: mvn --version
if actual value...
c:\program files\java\jdk1.8.0_74;
the semicolon @ end should culprit. happens gets executed on windows: %java_home%\bin\java
if semicolon there, it's going part of path gets executed.
Comments
Post a Comment