Issue with JAVA_HOME

前端 未结 4 1635
死守一世寂寞
死守一世寂寞 2020-12-11 13:10

i am trying to run sonar runner, i have the bat file in my project directory and when i navigate to it via command promptt and try and run it i get an error message saying

相关标签:
4条回答
  • 2020-12-11 13:36

    Given that it's looking for \bin\java.exe within JAVA_HOME, I suspect you ought to set it to C:\Program Files (x86)\Java\jdk1.7.0_15 - without the bin part.

    0 讨论(0)
  • 2020-12-11 13:39

    it should point to the java root folder, in your case to C:\Program Files (x86)\Java\jdk1.7.0_15

    0 讨论(0)
  • 2020-12-11 13:54

    Please Restrict your path to C:\Program Files (x86)\Java\jdk1.7.0_15 only (i.e. no bin).

    0 讨论(0)
  • 2020-12-11 13:59

    Take a look at this Stuff

    Configure Java environment on Windows

    0 讨论(0)
提交回复
热议问题