尝试在 Eclipse 中运行更新 UI 时收到消息“无法启动更新 ui...”
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1023044/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Getting the message "Cannot start the update ui..." when trying to run the update UI in Eclipse
提问by stevedbrown
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."
当我尝试在 Eclipse 中运行更新管理器时,出现错误“无法启动更新 UI。此安装尚未针对软件更新正确配置。”
Does anyone know how to fix this?
有谁知道如何解决这一问题?
回答by VonC
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.
错误 238910:如果您的 Eclipse 错误日志包含:
!MESSAGE 解析配置文件 /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
.profile 已损坏。
我只是删除了损坏的 .profile,重新启动了 eclipse,现在一切似乎都很好
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.4bug 230245: Failure to read unicode (in certain xml files): Fixed in 3.4
bug 224658:自托管时,p2 update ui不会出现(自托管情况(即Eclipse调试另一个Eclipse实例,如插件开发的情况)
在3.4中修复错误 230245:无法读取 unicode(在某些 xml 文件中):在 3.4 中修复
What version of eclipse are you running?
你运行的是什么版本的eclipse?
回答by jitter
Try enabling Classic Update
尝试启用经典更新
Window -> Preferences -> General -> Capabilities -> Classic Update
If that entry isn't available to you:
如果该条目对您不可用:
- Shutdown eclipse
- Navigate to this file
- 关机日食
- 导航到此文件
[yourWORKSPACE]/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs
[yourWORKSPACE]/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs
and try adding this line and restarting eclipse
并尝试添加这一行并重新启动 eclipse
UIActivities.org.eclipse.equinox.p2.ui.sdk.classicUpdate=true
回答by Redliner
If you are using Flash Builder 4, updated your installation trough auto update and run into this issue, then change this file:
如果您使用的是 Flash Builder 4,通过自动更新更新您的安装并遇到此问题,然后更改此文件:
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
写 FALSE 而不是 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.
但我终于可以进入更新对话框并管理更新。
回答by bart
You can also try check "Support software instalation in launched application" field in Run Configurations -> Configuration tab.
您还可以尝试在“运行配置”->“配置”选项卡中检查“在启动的应用程序中支持软件安装”字段。