加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

eclipse打不开,打开时弹出一个窗口,an error has occurred see the l

(2013-04-18 20:34:39)
标签:

eclipse

error

it


打开所指示的log文件,显示如下:!SESSION 2011-05-17 09:01:08.218 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.equinox.app 0 0 2011-05-17 09:01:09.750
!MESSAGE Product com.genuitec.myeclipse.product85.ide could not be found.

!ENTRY org.eclipse.equinox.p2.repository 4 0 2011-05-17 09:01:09.890
!MESSAGE ProvisioningEventBus could not be obtained. Metadata caches may not be cleaned up properly.

!ENTRY org.eclipse.osgi 4 0 2011-05-17 09:01:13.109
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:236)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
!SESSION 2011-05-17 09:03:27.203 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.equinox.app 0 0 2011-05-17 09:03:32.937
!MESSAGE Product com.genuitec.myeclipse.product85.ide could not be found.

!ENTRY org.eclipse.equinox.p2.repository 4 0 2011-05-17 09:03:33.968
!MESSAGE ProvisioningEventBus could not be obtained. Metadata caches may not be cleaned up properly.

!ENTRY org.eclipse.osgi 4 0 2011-05-17 09:03:42.359
!MESSAGE Application error
!STACK 1







解决方案:-----------------------------------------------------------------------------------------------------------------------


(查看过环境变量,发现正常。不是这个问题,最后在一个外国的论坛上发现有个人有如下的解答:

Incorrectly unzipped.
Believe it or not, about once a month, a user reports start-up failure: The user has unzipped Eclipse without selecting the use folder names option. Make sure that the result of unzipping is an install tree with an eclipse directory at its root. The Ark unzip utility in KDE is known to mangle Eclipse zips, so use a different unzip program to install there. The built-in unzip utility in Windows has also been known to have problems, particularly when installing into paths with relatively long names.

感觉应该是解压路径的问题,可能是解压的路径出现了中文或是路径长度过长的问题。于是把压缩包放在C盘本目录下解压。解药后发现运行正常。还真是这个问题,无语。感觉上是路径过长的问题可能性比较大。

所以,以后安装软件或是解压软件时,不要把放在太多层的目录下。)

我也遇到了相同问题,以上是我在网上找到的,我把安装路径都改成英文的又装了一次OK了~~

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有