它们必须在一排,否则会出现The Eclipse executable launcher was unable to locate its companion shared library的错误
打开eclipse文件夹下的eclipse.ini文件。改动–launcher.XXMaxPermSize属性,当中此属性有两处 -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
将其值改为128m就可以,例如以下。
(其实,仅仅改后面一个就能够,启动eclipse时以后者为准)
-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
128M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
128m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
然后我们就可以成功启动。
版权声明:本文博主原创文章,博客,未经同意不得转载。