Eclipse无法启动

问题描述

Eclipse一般只要装好JRE,解压后就可以直接使用。今天却启动失败,提示错误:

JVM   terminated. Exit code=-1.

解决方法

Eclipse目录里找到eclipse.ini

-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-product
org.eclipse.epp.package.jee.product
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m

将里面的256改小一点就可以了…

# 技巧 

评论

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×