Fedora Linux Support Community & Resources Center
  #1  
Old 29th March 2009, 07:34 AM
dmyersturnbull Offline
Registered User
 
Join Date: Sep 2008
Location: California
Posts: 235
Fedora Eclipse will not start

Hey.

Fedora Eclipse dies when I run it, giving this graphical message:
Code:
An error has occurred. See the log file
/home/dmyersturnbull/.eclipse/org.eclipse.platform_3.4.0_155965261/configuration/1238308055894.log.
And this console output:
Code:
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.equinox.preferences; bundle-version="[3.2.0,4.0.0)"
   at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:305)
   at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:265)
   at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:257)
   at org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.startBundles(ConfigApplier.java:317)
   at org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.install(ConfigApplier.java:86)
   at org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:124)
   at org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:138)
   at org.eclipse.equinox.internal.simpleconfigurator.Activator.start(Activator.java:48)
   at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:1009)
   at java.security.AccessController.doPrivileged(libgcj.so.9)
   at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1003)
   at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:984)
   at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
   at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:355)
   at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1074)
   at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:616)
   at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
   at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:299)
   at org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartLevelManager.java:247)
   at org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundle.java:201)
   at org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:644)
   at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:313)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
   at java.lang.reflect.Method.invoke(libgcj.so.9)
   at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
I have been getting this error since I installed Fedora 10 using combination of Eclipse sub-packages. Running regular-breed Eclipse from www.eclipse.org works, but having package installation and updates handled by yum would be nice. Any ideas?

Thanks,
Douglas
__________________
Dell Studio 15 with BIOS revision A06
Intel Core 2 Duo @ 2.0Ghz with 2MB L2 cache @ 66Mhz
3Ghz DDR2 RAM @ 667Mhz
Mobility Radeon HD 3400
ATI audio, revision 620, claimed by HDA Intel driver
Broadcom NetLink BCM5784M, claimed by tg3 3.94
Broadcom BCM4322 802.11a/b/g/n wireless, claimed by Broadcom’s proprietary drivers
SATA Western Digital 250GB @ 5400RPM
Fedora 10 32‐bit with separate ext4 / and /home and encrypted /secure
I always check updates immediately before posting.
Reply With Quote
  #2  
Old 30th March 2009, 12:53 AM
pedromatiello Offline
Registered User
 
Join Date: Jan 2006
Location: São Paulo, Brazil
Age: 29
Posts: 100
Did you try
eclipse -clean
?
__________________
-- Pedro Matiello
Reply With Quote
  #3  
Old 30th March 2009, 01:06 AM
dmyersturnbull Offline
Registered User
 
Join Date: Sep 2008
Location: California
Posts: 235
Hey, pedromatiello.

Thanks for your reply.

>Did you try
>eclipse -clean
>?
Using -clean gives the same error.

—Douglas
Reply With Quote
  #4  
Old 30th March 2009, 02:27 AM
pedromatiello Offline
Registered User
 
Join Date: Jan 2006
Location: São Paulo, Brazil
Age: 29
Posts: 100
Well, try renaming your ~/.eclipse directory to something else and start Eclipse again.
__________________
-- Pedro Matiello
Reply With Quote
  #5  
Old 31st March 2009, 08:24 AM
dmyersturnbull Offline
Registered User
 
Join Date: Sep 2008
Location: California
Posts: 235
Hey again, pedromatiello.

I found the issue. Apparently alternatives was configured to use the Gnu Java Compiler instead—Fedora Eclipse was giving errors for that. I changed alternatives to use OpenJDK’s compiler and Fedora eclipse works now. I don’t know why using the gjc caused Fedora Eclipse to complain but not non‐Fedora Eclipse.

Thanks for your help!
—Douglas
Reply With Quote
  #6  
Old 17th June 2009, 07:54 AM
PetalumaBoy Offline
Registered User
 
Join Date: Jun 2009
Posts: 1
Newbee needs more help ...

Dear dmyersturnbull,

I am new to fedora and I do have the same problem.
I have no clue what you mean by "alternatives"
and how to configure them?

Could you please explain in more detail
how you fixed the problem, since my eclipse
doesn't start I don't now how to change its
configuration?

Thanks in advance.
Reply With Quote
  #7  
Old 24th June 2009, 05:26 PM
Jerto Offline
Registered User
 
Join Date: Jun 2009
Posts: 1
Alternatives and PetalumaBoy

If you want to know more about Fedora alternatives, take a look here:
http://dailypackage.fedorabook.com/i...es-System.html

If you want to change your Java machine, write in the console as root:
alternatives --config java
and choose the righ one.

To solve your problem with Eclipse, you must also rename your home/.eclipse directory, try to rename it to .eclipse.bk.
Reply With Quote
Reply

Tags
eclipse, error, fedora, start

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SOLVED: Eclipse can't start in Fedora 11 colinp Using Fedora 4 3rd May 2010 02:01 AM
Eclipse does not start kupo Using Fedora 3 1st May 2008 03:45 PM
Eclipse failing to start BNiels707 Using Fedora 2 24th January 2007 04:28 PM
Can't start Eclipse 3.2 in FC6 silfreed Using Fedora 2 30th October 2006 04:50 AM
Eclipse won't start daveReed Using Fedora 1 22nd September 2006 05:45 AM


Current GMT-time: 20:27 (Wednesday, 20-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat