Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

My eclipse luna won't start up

Tags:

java

eclipse

So this basically this happens either when: -I install the e(fx)clipse plugin into eclipse and then restart eclipse -I copy the eclipse folder onto a network and put the folder on another computer to use the eclipse.

Currently I am facing the second one. Can you guys teach me how to read an eclipse log file? Also, please tell me on what I have to do with this.

My remedy is always get the base eclipse luna zip and then plug in for e(fx)clipse. Then hope that on my next start up it won't die on me.

LOG FILE

org.osgi.framework.BundleException: Unable to acquire the state change lock for the module: osgi.identity; osgi.identity="org.eclipse.core.runtime"; type="osgi.bundle"; version:Version="3.10.0.v20140318-2214"; singleton:="true" [id=51] STARTED!SESSION 2014-09-01 11:27:12.399 -----------------------------------------------
eclipse.buildId=4.4.0.I20140606-1215
java.version=1.8.0_20
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.standard.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.standard.product

!ENTRY org.eclipse.equinox.ds 2 0 2014-09-01 11:28:13.706
!MESSAGE [SCR - WorkThread] Timeout occurred! Thread was blocked on processing [QueuedJob] WorkPerformer: org.eclipse.equinox.internal.ds.SCRManager@ccdee4; actionType 1

!ENTRY org.eclipse.equinox.ds 2 0 2014-09-01 11:28:14.096
!MESSAGE [SCR] Enabling components of bundle org.eclipse.ui.trace did not complete in 30000 ms 

!ENTRY org.eclipse.fx.ide.java6 4 0 2014-09-01 11:28:14.221
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.fx.ide.java6 [296]
  Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version>=1.3)(!(version>=1.8)))"

    at org.eclipse.osgi.container.Module.start(Module.java:434)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclipse.core.runtime 4 0 2014-09-01 11:28:19.274
!MESSAGE FrameworkEvent ERROR
!STACK 0 [STARTED]
    at org.eclipse.osgi.container.Module.lockStateChange(Module.java:329)
    at org.eclipse.osgi.container.Module.start(Module.java:389)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1562)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
like image 400
Akira Hora Avatar asked Sep 01 '14 03:09

Akira Hora


People also ask

What to do if Eclipse is not opening?

If you've installed Eclipse but are having trouble getting it to run, the most likely cause is that you have not correctly specified the JVM for it to run under. Eclipse startup is controlled by the options in $ECLIPSE_HOME/eclipse. ini. If $ECLIPSE_HOME is not defined, the default eclipse.

Does Eclipse Luna support Java 11?

The latest release of Eclipse requires a 64-bit JVM, and does not support a 32-bit JVM. Current releases of Eclipse require Java 11 JRE/JDK or newer.


2 Answers

I had a similar problem with an unexpected reboot while eclipse was running. I could not start eclipse. Checked the .log file and had the same lock error message. I removed the .lock file from my workspace.metadata folder and was able to start up again.

like image 147
dbouchillon Avatar answered Oct 24 '22 06:10

dbouchillon


This worked for me. If you go to your workspace directory perform the following steps:

  1. cd .metadata/.plugins
  2. mv org.eclipse.core.resources org.eclipse.core.resources.bak
  3. Start eclipse. (It should show an error message or an empty workspace because no project is found.)
  4. Close all open editors tabs.
  5. Exit eclipse.
  6. rm -rf org.eclipse.core.resources (Delete the newly created directory.)
  7. mv org.eclipse.core.resources.bak/ org.eclipse.core.resources (Restore the original directory.)
  8. Start eclipse and start working.

Solution, coutersy of the following: http://off-topic.biz/en/eclipse-hangs-at-startup-showing-only-the-splash-screen/

like image 28
Kainda Avatar answered Oct 24 '22 06:10

Kainda