You are not logged in.

#1 2014-12-12 18:32:51

stefano
Member
Registered: 2011-04-09
Posts: 287

[SOLVED]Eclipse broken after upgrade to 4.4.1-1

My latest upgrade of Eclipse to 4.4.1-1 broke it.
When eclipse starts, it tries to lods its component, then fails with a pop-up message error referring to the log for further details.

Inspection of the blog shows that it cannot find a number of required packages. for instance, the first few lines show:

!SESSION 2014-12-12 12:22:22.965 -----------------------------------------------
eclipse.buildId=4.4.1.M20140925-0400
java.version=1.7.0_72
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.standard.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.standard.product

!ENTRY org.eclipse.ant.ui 4 0 2014-12-12 12:22:23.849
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.ant.ui [30]
  Unresolved requirement: Require-Bundle: org.eclipse.ui.workbench.texteditor; bundle-version="[3.5.0,4.0.0)"; resolution:="optional"
    -> Bundle-SymbolicName: org.eclipse.ui.workbench.texteditor; bundle-version="3.9.0.v20140411-1521"; singleton:="true"
       org.eclipse.ui.workbench.texteditor [238]
         Unresolved requirement: Require-Bundle: org.eclipse.ui; bundle-version="[3.5.0,4.0.0)"
           -> Bundle-SymbolicName: org.eclipse.ui; bundle-version="3.106.0.v20140812-1751"; singleton:="true"
              org.eclipse.ui [218]
                Unresolved requirement: Require-Bundle: org.eclipse.ui.workbench; bundle-version="[3.105.0,4.0.0)"; visibility:="reexport"
                  -> Bundle-SymbolicName: org.eclipse.ui.workbench; bundle-version="3.106.1.v20140827-1737"; singleton:="true"
                     org.eclipse.ui.workbench [237]
                       Unresolved requirement: Import-Package: org.eclipse.e4.ui.internal.workbench
                         -> Export-Package: org.eclipse.e4.ui.internal.workbench; bundle-version="1.2.1.v20140901-1244"; bundle-symbolic-name="org.eclipse.e4.ui.workbench"; version="0.0.0"; x-friends:="org.eclipse.e4.ui.wor
kbench.fragment,  org.eclipse.e4.ui.workbench.renderers.swt,  org.eclipse.e4.ui.workbench.swt,  org.eclipse.ui.workbench"
                            org.eclipse.e4.ui.workbench [69]
                              Unresolved requirement: Require-Bundle: org.eclipse.e4.ui.model.workbench; bundle-version="1.0.0"
                                -> Bundle-SymbolicName: org.eclipse.e4.ui.model.workbench; bundle-version="1.1.0.v20140512-1820"; singleton:="true"
                                   org.eclipse.e4.ui.model.workbench [66]
                                     Unresolved requirement: Require-Bundle: org.eclipse.emf.ecore; bundle-version="2.9.0"

I have reinstalled jdk7 (Oracle's version) and applied (as root)  the fix suggested on Archlinux's home page and in several other posts:

archlinux-java fix

To no avail. Nothing changes.

Help appreciated.

Last edited by stefano (2014-12-12 19:58:31)

Offline

#2 2014-12-12 19:18:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Eclipse broken after upgrade to 4.4.1-1

Is it the same as https://bbs.archlinux.org/viewtopic.php?id=184260 ?


Edit: Both jdk8-openjdk and jdk7-openjdk dependencies work for me on my 32-bit Arch with [testing] repos enabled.
Eclipse starts, the splash screen goes away and I get 'Welcome to Eclipse' screen with links to the workbench, tutorials etc.

Edit 2: jdk7 works too.

Last edited by karol (2014-12-12 19:39:54)

Offline

#3 2014-12-12 19:58:13

stefano
Member
Registered: 2011-04-09
Posts: 287

Re: [SOLVED]Eclipse broken after upgrade to 4.4.1-1

That was it. I had missed it when searching on the forums.
The suggested solution worked fine (removing ~/.eclipse and reinstalling)

Thanks!

S.

Offline

Board footer

Powered by FluxBB