【发布时间】:2015-04-22 06:54:48
【问题描述】:
打开像这个错误这样的日食是我所做的,所以请帮助我。 -> “错误:无法打开 `C:\Program Files\Java\jre6\lib\amd64\jvm.cfg'” 请帮帮我
【问题讨论】:
打开像这个错误这样的日食是我所做的,所以请帮助我。 -> “错误:无法打开 `C:\Program Files\Java\jre6\lib\amd64\jvm.cfg'” 请帮帮我
【问题讨论】:
这可能是一个稍微不同的原因,第二个问题发生在 Win7 (x64) 上的 scala 2.9.0.1 中,尽管 scala-2.9.1.final 已经解决了这里提到的这个问题:
\Java\jdk1.6.0_25\bin\java.exe was unexpected at this time.
My %JAVA_HOME% set to a path like this: c:\program files(x86)\Java\jdk...
Note the space and the parentheses.
If you change line 24 in %SCALA_HOME%\bin\scala.bat from:
if exist "%JAVA_HOME%\bin\java.exe" set _JAVACMD=%JAVA_HOME%\bin\java.exe
to
if exist "%JAVA_HOME%\bin\java.exe" set "_JAVACMD=%JAVA_HOME%\bin\java.exe"
It works fine. Note the quotes around the set command parameters, this will properly enclose any spaces and 'special' characters (eg: spaces and parentheses) in the variable's value.
【讨论】: