当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 6 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [问题]eclipse启动出错,请帮忙看看,谢谢
帖子发表于 : 2005-08-30 13:37 
头像

注册: 2005-06-25 21:57
帖子: 54
送出感谢: 0 次
接收感谢: 0 次
eclipse 启动是显示:


那个log文件内容如下:!SESSION 2005-08-30 13:08:03.474 -----------------------------------------------
eclipse.buildId=I20050627-1435
java.version=?
java.vendor=?
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en
Command-line arguments: -os linux -ws gtk -arch x86

!ENTRY org.eclipse.osgi 2005-08-30 13:08:04.225
!MESSAGE Error reading configuration: An error occurred while locking file "/opt/eclipse/configuration/org.eclipse.osgi/.manager/.fileTableLock": "java.nio.FileChannelImpl.lock(): not implemented". A common reason is that the file system or Runtime Environment does not support file locking for that location. Please choose a different location, or disable file locking passing "-Dosgi.locking=none" as a VM argument.
!STACK 0
java.io.IOException: An error occurred while locking file "/opt/eclipse/configuration/org.eclipse.osgi/.manager/.fileTableLock": "java.nio.FileChannelImpl.lock(): not implemented". A common reason is that the file system or Runtime Environment does not support file locking for that location. Please choose a different location, or disable file locking passing "-Dosgi.locking=none" as a VM argument.
at org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.lock (Locker_JavaNio.java:46)
at org.eclipse.core.runtime.adaptor.FileManager.lock (FileManager.java:361)
at org.eclipse.core.runtime.adaptor.FileManager.open (FileManager.java:658)
at org.eclipse.core.runtime.adaptor.EclipseAdaptor.initFileManager (EclipseAdaptor.java:809)
at org.eclipse.core.runtime.adaptor.EclipseAdaptor.initialize (EclipseAdaptor.java:139)
at org.eclipse.osgi.framework.internal.core.Framework.initialize (Framework.java:126)
at org.eclipse.osgi.framework.internal.core.Framework.Framework (Framework.java:104)
at org.eclipse.osgi.framework.internal.core.OSGi.createFramework (OSGi.java:90)
at org.eclipse.osgi.framework.internal.core.OSGi.OSGi (OSGi.java:31)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup (EclipseStarter.java:272)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:159)
at java.lang.reflect.Method.invokeNative (Method.java)
at java.lang.reflect.Method.invoke (Method.java:605)
at org.eclipse.core.launcher.Main.invokeFramework (Main.java:334)
at org.eclipse.core.launcher.Main.basicRun (Main.java:278)
at org.eclipse.core.launcher.Main.run (Main.java:973)
at org.eclipse.core.launcher.Main.main (Main.java:948)
at java.lang.VirtualMachine.invokeMain (VirtualMachine.java)
at java.lang.VirtualMachine.main (VirtualMachine.java:92)

!ENTRY initial@reference:file:plugins/org.eclipse.core.runtime_3.1.0.jar/ 0 0 2005-08-30 13:08:05.738
!MESSAGE FrameworkEvent.ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.runtime.PlatformActivator.start() of bundle org.eclipse.core.runtime.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator (BundleContextImpl.java:1013)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start (BundleContextImpl.java:969)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker (BundleHost.java:321)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume (AbstractBundle.java:339)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle (Framework.java:1024)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles (StartLevelManager.java:576)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL (StartLevelManager.java:498)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel (StartLevelManager.java:275)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent (StartLevelManager.java:458)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent (EventManager.java:189)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run (EventManager.java:291)
at java.lang.VMThread.callRun (VMThread.java:120)
at java.lang.Thread.callRun (Thread.java:391)
at java.lang.VirtualMachine.runThread (VirtualMachine.java:121)
Caused by: java.io.IOException: An error occurred while locking file "/opt/eclipse/configuration/org.eclipse.core.runtime/.manager/.fileTableLock": "java.nio.FileChannelImpl.lock(): not implemented". A common reason is that the file system or Runtime Environment does not support file locking for that location. Please choose a different location, or disable file locking passing "-Dosgi.locking=none" as a VM argument.
at org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.lock (Locker_JavaNio.java:46)
at org.eclipse.core.runtime.adaptor.FileManager.lock (FileManager.java:361)
at org.eclipse.core.runtime.adaptor.FileManager.open (FileManager.java:658)
at org.eclipse.core.internal.runtime.InternalPlatform.initializeRuntimeFileManager (InternalPlatform.java:786)
at org.eclipse.core.internal.runtime.InternalPlatform.start (InternalPlatform.java:1086)
at org.eclipse.core.internal.runtime.PlatformActivator.startInternalPlatform (PlatformActivator.java:141)
at org.eclipse.core.internal.runtime.PlatformActivator.start (PlatformActivator.java:57)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run (BundleContextImpl.java:994)
at java.security.AccessController.doPrivileged (AccessController.java:154)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator (BundleContextImpl.java:988)
...13 more
Root exception:
java.io.IOException: An error occurred while locking file "/opt/eclipse/configuration/org.eclipse.core.runtime/.manager/.fileTableLock": "java.nio.FileChannelImpl.lock(): not implemented". A common reason is that the file system or Runtime Environment does not support file locking for that location. Please choose a different location, or disable file locking passing "-Dosgi.locking=none" as a VM argument.
at org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.lock (Locker_JavaNio.java:46)
at org.eclipse.core.runtime.adaptor.FileManager.lock (FileManager.java:361)
at org.eclipse.core.runtime.adaptor.FileManager.open (FileManager.java:658)
at org.eclipse.core.internal.runtime.InternalPlatform.initializeRuntimeFileManager (InternalPlatform.java:786)
at org.eclipse.core.internal.runtime.InternalPlatform.start (InternalPlatform.java:1086)
at org.eclipse.core.internal.runtime.PlatformActivator.startInternalPlatform (PlatformActivator.java:141)
at org.eclipse.core.internal.runtime.PlatformActivator.start (PlatformActivator.java:57)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run (BundleContextImpl.java:994)
at java.security.AccessController.doPrivileged (AccessController.java:154)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator (BundleContextImpl.java:988)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start (BundleContextImpl.java:969)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker (BundleHost.java:321)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume (AbstractBundle.java:339)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle (Framework.java:1024)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles (StartLevelManager.java:576)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL (StartLevelManager.java:498)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel (StartLevelManager.java:275)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent (StartLevelManager.java:458)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent (EventManager.java:189)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run (EventManager.java:291)
at java.lang.VMThread.callRun (VMThread.java:120)
at java.lang.Thread.callRun (Thread.java:391)
at java.lang.VirtualMachine.runThread (VirtualMachine.java:121)

!ENTRY initial@reference:file:plugins/org.eclipse.update.configurator_3.1.0.jar/ 0 0 2005-08-30 13:08:05.890
!MESSAGE FrameworkEvent.ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.update.internal.configurator.ConfigurationActivator.start() of bundle org.eclipse.update.configurator.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator (BundleContextImpl.java:1013)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start (BundleContextImpl.java:969)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker (BundleHost.java:321)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume (AbstractBundle.java:339)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle (Framework.java:1024)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles (StartLevelManager.java:576)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL (StartLevelManager.java:498)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel (StartLevelManager.java:275)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent (StartLevelManager.java:458)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent (EventManager.java:189)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run (EventManager.java:291)
at java.lang.VMThread.callRun (VMThread.java:120)
at java.lang.Thread.callRun (Thread.java:391)
at java.lang.VirtualMachine.runThread (VirtualMachine.java:121)
Caused by: java.lang.Exception: Cannot initialize the Update Configurator
at org.eclipse.update.internal.configurator.ConfigurationActivator.initialize (ConfigurationActivator.java:89)
at org.eclipse.update.internal.configurator.ConfigurationActivator.start (ConfigurationActivator.java:67)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run (BundleContextImpl.java:994)
at java.security.AccessController.doPrivileged (AccessController.java:154)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator (BundleContextImpl.java:988)
...13 more
Root exception:
java.lang.Exception: Cannot initialize the Update Configurator
at org.eclipse.update.internal.configurator.ConfigurationActivator.initialize (ConfigurationActivator.java:89)
at org.eclipse.update.internal.configurator.ConfigurationActivator.start (ConfigurationActivator.java:67)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run (BundleContextImpl.java:994)
at java.security.AccessController.doPrivileged (AccessController.java:154)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator (BundleContextImpl.java:988)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start (BundleContextImpl.java:969)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker (BundleHost.java:321)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume (AbstractBundle.java:339)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle (Framework.java:1024)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles (StartLevelManager.java:576)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL (StartLevelManager.java:498)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel (StartLevelManager.java:275)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent (StartLevelManager.java:458)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent (EventManager.java:189)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run (EventManager.java:291)
at java.lang.VMThread.callRun (VMThread.java:120)
at java.lang.Thread.callRun (Thread.java:391)
at java.lang.VirtualMachine.runThread (VirtualMachine.java:121)

!ENTRY org.eclipse.osgi 2005-08-30 13:08:06.643
!MESSAGE Startup error
!STACK 1
java.lang.IllegalStateException: Bundle initial@reference:file:plugins/org.eclipse.core.runtime_3.1.0.jar/ [1] is not active.
at org.eclipse.core.runtime.adaptor.EclipseStarter.ensureBundlesActive (EclipseStarter.java:410)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup (EclipseStarter.java:297)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:159)
at java.lang.reflect.Method.invokeNative (Method.java)
at java.lang.reflect.Method.invoke (Method.java:605)
at org.eclipse.core.launcher.Main.invokeFramework (Main.java:334)
at org.eclipse.core.launcher.Main.basicRun (Main.java:278)
at org.eclipse.core.launcher.Main.run (Main.java:973)
at org.eclipse.core.launcher.Main.main (Main.java:948)
at java.lang.VirtualMachine.invokeMain (VirtualMachine.java)
at java.lang.VirtualMachine.main (VirtualMachine.java:92)


我先是用apt-get装,后来又试着从www.eclipse.org下包装。都出现这个问题。不知该如何解决。请大家帮忙看看。谢谢了。


附件:
Screenshot.png
Screenshot.png [ 679.25 KiB | 被浏览 1438 次 ]

页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2005-08-30 13:59 

注册: 2005-07-29 21:06
帖子: 27
送出感谢: 0 次
接收感谢: 0 次
我是先安装jdk,然后就 apt eclipse的,打开没问题


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2005-08-30 17:43 
头像

注册: 2005-06-25 21:57
帖子: 54
送出感谢: 0 次
接收感谢: 0 次
我也是阿。


页首
 用户资料  
 
4 楼 
 文章标题 : Re: [问题]eclipse启动出错,请帮忙看看,谢谢
帖子发表于 : 2008-12-23 22:20 
头像

注册: 2006-09-02 21:46
帖子: 8
送出感谢: 0 次
接收感谢: 0 次
rm -rf ~/.eclipse 试试


页首
 用户资料  
 
5 楼 
 文章标题 : Re: [问题]eclipse启动出错,请帮忙看看,谢谢
帖子发表于 : 2008-12-30 20:42 
头像

注册: 2008-10-05 21:16
帖子: 23
送出感谢: 0 次
接收感谢: 0 次
我看好像就是没有设置JDK路径才导致这样的


页首
 用户资料  
 
6 楼 
 文章标题 : Re: [问题]eclipse启动出错,请帮忙看看,谢谢
帖子发表于 : 2011-11-11 9:39 

注册: 2011-11-11 9:30
帖子: 2
送出感谢: 0 次
接收感谢: 0 次
这个问题我已经解决了,原因是/eclipse/configuration/org.eclipse.osgi/.manager/.fileTableLock 文件的执行权限不够!
sudo chmod 777 -R eclipse
就ok了!
附件:
文件注释: 报错1
1.jpg
1.jpg [ 23.84 KiB | 被浏览 605 次 ]


附件:
文件注释: 日志
2.jpg
2.jpg [ 46.01 KiB | 被浏览 605 次 ]


附件:
文件注释: 关闭后第一次重启的报错
3.jpg
3.jpg [ 24.91 KiB | 被浏览 605 次 ]



页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 6 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译