tags:

views:

1658

answers:

4

When I try to run the update manager in Eclipse, I get the error "Cannot launch the Update UI. This installation has not been configured properly for Software Updates."

Does anyone know how to fix this?

+3  A: 

Try enabling Classic Update

Window -> Preferences -> General -> Capabilities -> Classic Update

If that entry isn't available to you:

  1. Shutdown eclipse
  2. Navigate to this file

[yourWORKSPACE]/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs

and try adding this line and restarting eclipse

UIActivities.org.eclipse.equinox.p2.ui.sdk.classicUpdate=true
jitter
Sweet, thanks. I didn't find the settings file anywhere before.
stevedbrown
I didnt have the entry and manually added the UIActivities.org.eclipse.equinox.p2.ui.sdk.classicUpdate=true line to [yourWORKSPACE]/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs file.After that we have the option to revert Eclipse to its previous state by clicking Help -> Software Updates -> Manage Configurations -> Revert to Previous, and choose the configuration that was stable and free from the feature that broke eclipse.
arunpon
+2  A: 

There are some bugs already entered about that message:

  • bug 238910: if your eclipse error log contains:

    !MESSAGE Error parsing profile /opt/eclipse/p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile.profile/1214752385704.profile.

the .profile was corrupted.
I simply deleted the corrupted .profile, restarted eclipse and everything seems to be fine now

  • bug 224658 : when self-hosting, p2 update ui won't come up (self-hosting case (that is, Eclipse debugging another instance of Eclipse, as in a plugin development situation)
    Fixed in 3.4

  • bug 230245: Failure to read unicode (in certain xml files): Fixed in 3.4

What version of eclipse are you running?

VonC
Version 3.4.1 - I had the first problem, deleting my profile took care of it.
stevedbrown
A: 

oh thanks a lot jitter.. I spent almost my half day to find this solution.. :)

Generally you vote him up if you like his answer. Give it a try.
stevedbrown
+2  A: 

If you are using Flash Builder 4, updated your installation trough auto update and run into this issue, then change this file:

Adobe Flash Builder Beta\.metadata\.plugins\org.eclipse.update.ui\dialog_settings.xml

and edit the contents:

<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
    <section name="ModeSelectionPage">
     <item key="new-features-mode" value="false"/>
    </section>
</section>

write FALSE instead of TRUE

after restart I have in my help menu two items:

  • software updates - classic drop down menu
  • software updates - item just under it which gives me the error

But I finally can enter the update dialog and manage updates.

Redliner
+1 Thanks Redliner. Using Flash Builder Beta 2, found this file in: [Workspace]/.metadata/.plugins/org.eclipse.update.ui/dialog_settings.xml, and now it's working. :)
secoif