문제

I am trying to access the mvn:dependency:tree in my window cmd

And it prompts me the following error: err1

Then I tried to check my Java installed location by doing so:

err2

So does this proves that my JAVA_HOME is setting at the correct directory?

도움이 되었습니까?

해결책

Set your JAVA_HOME variable to C:/Program Files/Java/jdk1.7.0_51

Note : The Problem is that you are pointing to the jre/bin. You have to remove it and just point to the directory path till jdk1.7.0_51 (JAVA_HOME)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top