Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

java

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?

like image 268
stevedbrown Avatar asked Jun 21 '09 02:06

stevedbrown


4 Answers

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?

like image 146
VonC Avatar answered Nov 09 '22 18:11

VonC


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
like image 23
jitter Avatar answered Nov 09 '22 20:11

jitter


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.

like image 21
Redliner Avatar answered Nov 09 '22 19:11

Redliner


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

like image 44
bart Avatar answered Nov 09 '22 20:11

bart