大马资讯论坛 - 马来西亚中文资讯平台

标题: [教学] Java was started but returned exit code=13 解决 [打印本页]

作者: 资讯王    时间: 2014-10-22 11:37
标题: [教学] Java was started but returned exit code=13 解决
eclipse除错Java was started but returned exit code=13 Dosgi.requiredJavaVersion=1.7

原因eclipse混淆32bit 和64bit的路径

打开你的eclipse.ini,添加以下code在最上面
-vm
C:\Program Files\Java\jre7\bin\javaw.exe

Example
  1. -vm
  2. C:\Program Files\Java\jre7\bin\javaw.exe
  3. -startup
  4. plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
  5. --launcher.library
  6. plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326
  7. -product
  8. org.eclipse.epp.package.standard.product
  9. --launcher.defaultAction
  10. openFile
  11. --launcher.XXMaxPermSize
  12. 1024M
  13. -showsplash
  14. org.eclipse.platform
  15. --launcher.XXMaxPermSize
  16. 1024m
  17. --launcher.defaultAction
  18. openFile
  19. --launcher.appendVmargs
  20. -vmargs
  21. -Dosgi.requiredJavaVersion=1.7
  22. -Xms512m
  23. -Xmx1024m
复制代码





欢迎光临 大马资讯论坛 - 马来西亚中文资讯平台 (http://freeinfo.com.my/) Powered by Discuz! X3.3