当我将Eclipse Kepler更新为Mars时,我收到如下所述的错误,请指导如何更新。
An error occurred while uninstalling
session context was:(profile=epp.package.standard, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]org.eclipse.rcp.configuration_root.win32.win32.x86_64 1.0.0.v20130521-1847 --> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction).
Backup of file D:\Java\eclipse\eclipse\eclipse.exe failed.
Can not remove : D:\Java\eclipse\eclipse\eclipse.exe
答案 0 :(得分:2)
理论上,主要版本的更新应该有效,但不一定能在两个版本中更新(Kepler - > Mars正在跳过Luna)。
升级主要版本的推荐方法是下载新版本并将其安装到单独的位置,然后将其指向现有工作区。如果您安装了第三方插件,则必须将它们重新安装到新的Eclipse中(这可能还需要这些插件的更新版本)。
不要在现有Eclipse之上提取新版本 - 这将无效并会导致问题。