eggee

  今天在打开eclipse时突然出现了一个启动错误,failed to create the java virtual machine,

如图:

google了一下,都说是eclipse目录下eclipse.ini的配置问题,

-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.2.R36x_v20101222
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms256m
-Xmx600m -Dfile.encoding=UTF-8

 解决方法是将代码中的两个256改为128,我改过之后,发现没效果,还是那个问题,于是继续找原因,最后发现将代码中蓝色的-Xms256m  -Xmx600m 改为-Xms40m -Xmx256m 后,一切正常。具体原因还不清楚,需要进一步研究。

分类:

技术点:

相关文章:

  • 2021-09-24
  • 2021-09-08
  • 2021-10-29
  • 2021-09-18
  • 2021-09-08
猜你喜欢
  • 2021-09-08
  • 2021-06-05
  • 2021-09-08
  • 2021-09-08
  • 2021-09-29
  • 2021-05-16
相关资源
相似解决方案