`
pengfeifei26
  • 浏览: 232975 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

运行eclipse 出现java was started but returned exit code = 2

 
阅读更多
运行eclipse 出现java was started but returned exit code = 2

解决方法:
eclipse.ini 中加入
-vm
C:/p/Java/jdk1.6.0_25/bin/javaw.exe


-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503
-product
org.eclipse.epp.package.jee.product
-vm
C:/p/Java/jdk1.6.0_25/bin/javaw.exe

--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms256m
-Xmx1024m
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics