stevedbrown
stevedbrown

Reputation: 8934

Getting the message "Cannot start the update ui..." when trying to run the update UI in Eclipse

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?

Upvotes: 7

Views: 11030

Answers (4)

bart
bart

Reputation: 121

You can also try check "Support software instalation in launched application" field in Run Configurations -> Configuration tab.

Upvotes: 1

Redliner
Redliner

Reputation: 41

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.

Upvotes: 2

VonC
VonC

Reputation: 1324887

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?

Upvotes: 10

jitter
jitter

Reputation: 54605

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

Upvotes: 4

Related Questions