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

 找回密码
 注册
搜索
打印 上一主题 下一主题

[教学] Java was started but returned exit code=13 解决

[复制链接]
跳转到指定楼层
1#
发表于 2014-10-22 11:37:20 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
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
复制代码

手机版|大马资讯论坛  

GMT+8, 2024-4-30 14:50 , Processed in 0.019789 second(s), 13 queries , File On.

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表