如何以正确的方式将 Eclipse 从 3.5 (Galileo) 升级到 3.6 (Helios)?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3680250/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 19:37:39  来源:igfitidea点击:

How to upgrade Eclipse from 3.5 (Galileo) to 3.6 (Helios) the proper way?

eclipseubuntuupgradegalileohelios

提问by EDWH

I notice this question has been asked a few times but I don't really like the solution with two Eclipses in parallel. I just want my Galileo upgraded to Helios with preservation of all settings, plugins and workspaces, without the mumbo-jumbo like copying plugins manually and stuff. I've got the Android plugin, the C/C++ plugin, the PyDev plugin and what not more.

我注意到这个问题已被问过几次,但我真的不喜欢并行使用两个 Eclipse 的解决方案。我只希望我的 Galileo 升级到 Helios,并保留所有设置、插件和工作区,而不像手动复制插件之类的笨拙。我有 Android 插件、C/C++ 插件、PyDev 插件等等。

Is there a quick and sure way to upgrade Eclipse like this? I've found some instructions on the Eclipse wiki, but it doesn't seem to work with my system (Ubuntu 10.04; I add the Helios site and then Check for Updates, but it doesn't take Helios as an update for Eclipse). Has someone found a solution for this?

有没有一种快速可靠的方法来像这样升级 Eclipse?我在Eclipse wiki上找到了一些说明,但它似乎不适用于我的系统(Ubuntu 10.04;我添加了 Helios 站点,然后检查更新,但它没有将 Helios 作为 Eclipse 的更新) . 有人为此找到了解决方案吗?

UPDATE: The way described in the wikiseems to work on my Windows-installed Eclipse, Check For Updates lists "Eclipse SDK v.3.6.0" as an available update.

更新:wiki 中描述的方式似乎适用于我的 Windows 安装的 Eclipse,检查更新将“Eclipse SDK v.3.6.0”列为可用更新。

采纳答案by FerranB

You cannot. You have to download, uncompress and run it without the ubuntu repository. In this scenario you can upgrade without problems ;-)

你不能。您必须在没有 ubuntu 存储库的情况下下载、解压缩并运行它。在这种情况下,您可以毫无问题地升级;-)

If you want to use Helios through the ubuntu repository you have to wait beyond Maverick (10.10) as you can see here: https://launchpad.net/ubuntu/+source/eclipse

如果您想通过 ubuntu 存储库使用 Helios,您必须等待 Maverick (10.10) 之后,如您所见:https: //launchpad.net/ubuntu/+source/eclipse

回答by Ben

Hopefully this will save somebody some trouble... I installed Helios from the zip but found that Eclipse couldn't install new plugins because of screwy dependancies. I found that I had to remove the old Eclipse folders from ~/.eclipse. Hope this helps somebody! (My system: Ubuntu 10.04, 64bit)

希望这会为某些人省去一些麻烦...我从 zip 安装了 Helios,但发现 Eclipse 由于依赖关系而无法安装新插件。我发现我必须从 ~/.eclipse 中删除旧的 Eclipse 文件夹。希望这对某人有帮助!(我的系统:Ubuntu 10.04,64 位)

回答by Chris

After installing the ppa version of 3.6 supplied by the Eclipse Team I was unable to run eclipse, got splash screen then it closed. I then downloaded the latest version of eclipse 3.6. I then extracted eclipse into the ppa installed directory. Make sure you over-write all packages. Once this was down I tried eclipse again and it was successful.

安装 Eclipse 团队提供的 3.6 版 ppa 版本后,我无法运行 eclipse,出现闪屏然后关闭。然后我下载了最新版本的 eclipse 3.6。然后我将 eclipse 解压缩到 ppa 安装目录中。确保覆盖所有包。一旦失败,我再次尝试 eclipse 并且它成功了。

回答by Chris

Just a word of warning that I tried upgrading to 3.6.0 via the "Eclipse Team" ppa on Launchpad.net and had absolutely no luck. Details upon request.

只是警告一下,我尝试通过 Launchpad.net 上的“Eclipse Team”ppa 升级到 3.6.0,但绝对没有运气。详情请咨询。