Chinaunix首页 | 论坛 | 博客
  • 博客访问: 676757
  • 博文数量: 118
  • 博客积分: 2933
  • 博客等级: 少校
  • 技术积分: 1779
  • 用 户 组: 普通用户
  • 注册时间: 2010-07-27 10:16
文章存档

2013年(35)

2012年(27)

2011年(23)

2010年(33)

分类: Java

2011-12-12 09:29:05

今天早上一来我的eclipse就出现了
Failed to create the Java Virtual Machine 问题,网上找了下答案是这样给成功解决的:

    1 找到eclipse目录下的eclipse.ini,可以看到如下内容:
 

      -startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810
-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
-Xms40m
-Xmx512m

 


修改为以下内容即可:

-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
–launcher.defaultAction
openFile
–launcher.XXMaxPermSize
128M
-showsplash
org.eclipse.platform
–launcher.XXMaxPermSize
128m
–launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
 

 

阅读(2971) | 评论(2) | 转发(2) |
0

上一篇:Hibernate原理

下一篇:Eclipse快捷键大全

给主人留下些什么吧!~~

sq19902011-12-16 13:26:24

最乖啦啦: 到底是哪里修改了呢?.....
不就是吧256m改为了128M吗?主要就是这改了?

最乖啦啦2011-12-13 01:20:44

到底是哪里修改了呢?