eclipse 执行命令行时发生异常。CreateProcess: "C:\Program Files\Java\jre6\bin\javaw.exe"
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/6664654/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Exception occurred executing command line. CreateProcess: "C:\Program Files\Java\jre6\bin\javaw.exe"
提问by spyros
I have the above problem when trying to run the astparser (found here).
我在尝试运行 astparser 时遇到了上述问题(在这里找到)。
I have windows xp 32bit and eclipse helios.
我有 windows xp 32bit 和 eclipse helios。
I already have tried the -vm option in the .ini file of eclipse, but problem persists.
我已经在 eclipse 的 .ini 文件中尝试了 -vm 选项,但问题仍然存在。
The error message is:
错误信息是:
Exception occurred executing command line. CreateProcess: "C:\Program Files\Java\jre6\bin\javaw.exe" -Dfile.encoding=Cp1253 -classpath "C:\Documents and Settings\neo.WHITE-RABBIT\Επιφ?νεια εργασ?α?\ASTExplorer\bin;C:\Documents and Settings\neo.WHITE-RABBIT\Επιφ?νεια εργασ?α?\eclipse\plugins\org.eclipse.swt.win32.win32.x86_3.6.0.v3650b.jar;C:\Documents and Settings\neo.WHITE-RABBIT\Επιφ?νεια εργασ?α?\eclipse\plugins\com.ibm.icu_4.2.1.v20100412.jar;C:\Documents and Settings\neo.WHITE-RABBIT\Επιφ?νεια εργασ?α?\eclipse\plugins\com.jcraft.jsch_0.1.41.v200903070017.jar;C:\Documents and Settings\neo.WHITE-RABBIT\Επιφ?νεια εργασ?α?\eclipse\plugins\java_cup.runtime_0.10.0.v201005080400.jar;C:\Documents and Settings\neo.WHITE-RABBIT\Επιφ?νεια εργασ?α?\eclipse\plugins\javax.activation_1.1.0.v201005080500.jar;C:\Documents and Settings\neo.WHITE-RABBIT\Επιφ?νεια εργασ?α?\eclipse\plugins\javax.jws_2.0.0.v201005080400.jar;C:\Documents and Settings\neo.WHITE-RABBIT\Επιφ?νεια εργασ?α?\eclipse\plugins\javax.mail_1.4.0.v201005080615.jar;C:\Documents and Settings\neo.WHI”
Any suggestions?
有什么建议?
采纳答案by Ryan Stewart
Install Java somewhere without spaces in the path. It will only cause you unnecessary heartache, like this. The same goes for all your dev tools, like ant, maven, ides, sql tools, etc.
在路径中没有空格的地方安装 Java。只会给你带来不必要的心痛,像这样。你所有的开发工具也是如此,比如 ant、maven、ide、sql 工具等。