当前位置: 首页 > Java > 正文

Failed to create the Java Virtual Machine

关键字:
1 星2 星3 星4 星5 星 (1 次投票, 评分: 5.00, 总分: 5)
Loading ... Loading ...
baidu_share

今天早上打开Eclipse时出现:

解决方法:

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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
256M
-showsplash
org.eclipse.platform
–launcher.XXMaxPermSize
256m
–launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
修改–launcher.XXMaxPermSize  128

修改如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
-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
<strong>128M</strong>
-showsplash
org.eclipse.platform
–launcher.XXMaxPermSize
<strong>128m</strong>
–launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m

本文固定链接: http://www.chepoo.com/eclipse-failed-to-create-the-java-virtual-machine.html | IT技术精华网

【上一篇】
【下一篇】

Failed to create the Java Virtual Machine:等您坐沙发呢!

发表评论