启动eclipse3.5.1 报错关于org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
来源:互联网 发布:国内旅游2017年大数据 编辑:程序博客网 时间:2024/06/06 04:07
今天启动eclipse,突然报错无法启动,记录一下(org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar)
看ecplise.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
这是都是默认的参数值,
XXMaxPermSize设置JVM非堆内存最大值=256M
Xms40m设置JVM堆内存最小值
Xmx512m设置JVM堆内存的最大值
这几个值设置的是JVM的参数,baidu上说,JVM的启动参数在eclisep.ini中设置,eclipse启动参数应该设置在configuration中的config.ini文件中,如果写在了eclipse.ini中会发生eclipse无法启动。不过这看起来毫无道理。但是我还是注释掉了全部的eclipse启动参数(-vmargs后的是JVM启动参数,之前的全是eclipse启动参数)。因为比较一下这两个文件,会发现config.ini中包含了除XXMaxPermSize外的所有eclipse启动参数。现在文件变为:
-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
可以启动了,算是个好办法~
----------------------------------------------------------------------------------------------------------------------------------------------
还有另外一个办法,把XXMaxPermSize值改小,比如我改成了196M。就可以启动了。-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
196m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
- 启动eclipse3.5.1 报错关于org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
- 关于 JVM terminated. Exit code=13 org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
- eclipse 运行时提示找不到plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
- Unable to find plug-in: org.eclipse.equinox.launcher_1.0.200.v20090520.
- eclipse Luna 安装ADT插件报错解决方法,An error occurred during the org.eclipse.equinox.internal.p2.engine.phase
- 解决 eclipse 启动报错 org.eclipse.ui.ide.multiFilter
- Rcp应用在启动时出现找不到org.eclipse.equinox.launcher.Main类错误
- 启动eclipse 报错org.osgi.framework.BundleException
- org.eclipse.equinox.http.helper 的获得
- org.eclipse.equinox.p2.core.ProvisonException
- 关于eclipse中的Tomcat启动报错
- org.eclipse.equinox.security.storage.StorageException: No password provided. at org.eclipse.equinox
- 打包eclipse工程为jar时, 运行报错 noclassdeffounderror "org/dom4j/io/SAXReaderr
- eclipse中的maven web项目报错:org/codehaus/plexus/archiver/jar/JarArchiver
- eclipse中的maven web项目报错:org/codehaus/plexus/archiver/jar/JarArchiver
- eclipse 启动失败,报错org.eclipse.swt.SWTException: Failed to execute runnable
- ECLIPSE启动不了,报错org.eclipse.swt.SWTException: Invalid thread access
- eclipse 启动报错 Ensure that the org.eclipse.core.runtime bundle is resolved
- NodeJs在linux下关闭监听端口
- JavaScript批量验证表单
- JAVA函数重载及精确度匹配
- git优点
- 不能将参数 从“char [260]”转换为“ACHAR *”
- 启动eclipse3.5.1 报错关于org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
- Las Vegas利用ParkPad(基于ArcPad)实现公园资产管理
- s3c2440 nandflash启动过程分析
- 声明
- Ubuntu 10.04 Eclipse C/C++平台搭建
- 程序中如何获取Android的Root权限
- zww
- 一周最新示例代码回顾 (4/9–4/15)
- 【二分图匹配】矩阵游戏