[问题]eclipse启动出错,请帮忙看看,谢谢

OOo,TeX,KO,ABI,GIMP,Picasa,ProE,QCAD,Inkscape,Kicad,Eagle
回复
头像
wtwang1985
帖子: 54
注册时间: 2005-06-25 21:57
送出感谢: 0
接收感谢: 0
联系:

[问题]eclipse启动出错,请帮忙看看,谢谢

#1

帖子 wtwang1985 » 2005-08-30 13:37

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
zh00yi
帖子: 27
注册时间: 2005-07-29 21:06
送出感谢: 0
接收感谢: 0

#2

帖子 zh00yi » 2005-08-30 13:59

我是先安装jdk,然后就 apt eclipse的,打开没问题
头像
wtwang1985
帖子: 54
注册时间: 2005-06-25 21:57
送出感谢: 0
接收感谢: 0
联系:

#3

帖子 wtwang1985 » 2005-08-30 17:43

我也是阿。
头像
filcon
帖子: 8
注册时间: 2006-09-02 21:46
送出感谢: 0
接收感谢: 0

Re: [问题]eclipse启动出错,请帮忙看看,谢谢

#4

帖子 filcon » 2008-12-23 22:20

rm -rf ~/.eclipse 试试
头像
jinger7281
帖子: 23
注册时间: 2008-10-05 21:16
送出感谢: 0
接收感谢: 0

Re: [问题]eclipse启动出错,请帮忙看看,谢谢

#5

帖子 jinger7281 » 2008-12-30 20:42

我看好像就是没有设置JDK路径才导致这样的
william6214
帖子: 2
注册时间: 2011-11-11 9:30
送出感谢: 0
接收感谢: 0

Re: [问题]eclipse启动出错,请帮忙看看,谢谢

#6

帖子 william6214 » 2011-11-11 9:39

这个问题我已经解决了,原因是/eclipse/configuration/org.eclipse.osgi/.manager/.fileTableLock 文件的执行权限不够!
sudo chmod 777 -R eclipse
就ok了!
1.jpg
报错1
2.jpg
日志
3.jpg
关闭后第一次重启的报错
回复

回到 “办公、图像、机械电子设计等”