Chinaunix首页 | 论坛 | 博客
  • 博客访问: 90733
  • 博文数量: 35
  • 博客积分: 148
  • 博客等级: 入伍新兵
  • 技术积分: 220
  • 用 户 组: 普通用户
  • 注册时间: 2011-12-04 02:12
文章分类
文章存档

2012年(19)

2011年(16)

我的朋友

分类:

2011-12-20 05:07:07

今天早上一来我的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
 

 

阅读(1119) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~