eclipse启动时出错 ,高分求解决方案
eclipse.buildId=M20100211-1343
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
Framework arguments: -product org.eclipse.epp.package.rcp.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.rcp.product
Error
Fri May 20 00:48:13 CST 2011
ProvisioningEventBus could not be obtained. Metadata caches may not be cleaned up properly.
Exception Stack Trace :
An exception stack trace is not available.
截图如下 : 展开
eclipse启动报错如下:
解决办法:
编辑 D:\software\eclipse4.3\eclipse.ini 文件
在openFile后面增加jdk所在路径:
-vm
C:\Program Files\Java\jdk1.7\bin
完整示例如下:
[plain] view plain copy print?
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:\Program Files\Java\jdk1.7\bin
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
-Dfile.encoding=UTF-8
- -startup
- plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
- --launcher.library
- plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
- -product
- org.eclipse.epp.package.jee.product
- --launcher.defaultAction
- openFile
- --launcher.XXMaxPermSize
- 256M
- -showsplash
- org.eclipse.platform
- --launcher.XXMaxPermSize
- 256m
- --launcher.defaultAction
- openFile
- -vm
- C:\Program Files\Java\jdk1.7\bin
- -vmargs
- -Dosgi.requiredJavaVersion=1.5
- -Xms40m
- -Xmx512m
- -Dfile.encoding=UTF-8
以下为完整错误信息:
eclipse.buildId=M20100211-1343
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
Framework arguments: -product org.eclipse.epp.package.rcp.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.rcp.product
Error
Fri May 20 00:48:13 CST 2011
ProvisioningEventBus could not be obtained. Metadata caches may not be cleaned up properly.
Exception Stack Trace :
An exception stack trace is not available.
如果不行的话,就把workspace里的.Metadata目录删了
2013-12-05