ECLIPSE的启动问题

     今天不想删掉原来的Eclipse,只想尝试一下再解压一个eclipse,然后运行,选择另外一个Workspace尝试下,刚开始不能启动,会出现一个错误的提示框。
      查看.log日志,里面写道: !ENTRY org.eclipse.osgi 4 0 2007-10-22 11:26:04.137
!MESSAGE An error occurred while automatically activating bundle org.eclipse.core.runtime.compatibility (25).
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.plugins.CompatibilityActivator.start() of bundle org.eclipse.core.runtime.compatibility. .......
      猜想是否与原来安装的TOMCAT的带有联系呢,在系统变量里把这些与Tomcat有关的变量都删除了,并且把一些路径中相关的设置也删除了,打开eclipse,仍然不行。
      后来,查阅资料,在命令行中,尝试了以下方法:
      命令行中, 进入eclipse的安装文件夹,然后输入:   
eclipse.exe -clean -nosplash -showLocation -vm C:/java/jdk1.5.0_03/bin/javaw.exe
-vmargs -Xms128m -Xmx512m -XX:MaxPermSize=128m -Duser.language=en
红色部分是你所安装的JDK的路径。

下面解释下上面参数的意义:
-clean: 是清除plug-ins的注册信息,其实直接在configuaration文件夹下删除掉除了config.ini和
.setting文件夹之外的所有文件夹,是一样的。
-nosplash: 是在启动eclipse时,不显示那个启动的进度条,而是直接进入eclipse
-showLocation: 就是把工作区间的完整路径也显示在IDE的标题处
Please understand that these values are only examples-
in this case for a very beefy developer machine. Eclipse 3.2 uses a lot
less memory than 3.1, so you  most likely need a lot less VM heap

memory than -Xmx512m.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值