情况:我在 Win XP 32 位系统上安装了 Sonarqube.我按照指示设置了所有路径.服务器在 localhost://9090 上打开得很好.
Situation : I installed Sonarqube on a Win XP 32-bit system. I set all paths as instructed. The server opens up well at localhost://9090.
我的 JAVA_HOME 是:C:Program FilesJavajdk1.7.0_60;
My JAVA_HOME is: C:Program FilesJavajdk1.7.0_60;
问题当我运行 sonar-runner.bat 时,出现以下错误:
Problem When I run, sonar-runner.bat, I get the following error:
错误:Java_Home 存在但不指向有效的 Java 主文件夹.此处找不到injava.exe"文件.
ERROR: Java_Home exists but does not point to a valid Java home folder. No "injava.exe" file can be found here.
我尝试了什么:我将/bin 添加到路径中.我尝试了/jre,然后是/jre/bin(注意:它们都包含/bin/java.exe".
What I tried: I added /bin to the path. I tried /jre, and then /jre/bin (Note: all of them contain the "/bin/java.exe" within them.
这是由于 Java(或 Jdk)文件夹的某些权限问题吗?
Is this due to some permissions issue of the Java (or Jdk) folder ?
去掉末尾的分号;
;现在它被包含在构造的路径中.
Remove the semicolon ;
from the end; right now it's being included in the constructed path.
此变量应为单个目录,而不是列表,并且不应有路径分隔符.
This variable is expected to be a single directory, not a list, and should not have a path separator.
这篇关于声纳运行器:JAVA_HOME 存在但未指向有效的 Java 主文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!