eclipse 如何升级新版本的eclipse而不是使用新下载的包

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

How to upgrade new version of eclipse instead of using new downloaded package

eclipseeclipse-marseclipse-oxygen

提问by Ganesa Vijayakumar

I am looking for steps to upgrade my current eclipse version(Mars) to latest version(Oxygen) because I have been using Masr for past long time so that contains all the settings, plugins and all the histories so I would like to retain the same and also upgrade to new version.

我正在寻找将我当前的 eclipse 版本(Mars)升级到最新版本(Oxygen)的步骤,因为我过去一直在使用 Masr,所以它包含所有设置、插件和所有历史记录,所以我想保留相同的并升级到新版本。

Is this possible?

这可能吗?

Note: It can be any type of eclipse for any kind of development like Java, C/C++, PHP, Javascript and Testers

注意:它可以是任何类型的 Eclipse,用于任何类型的开发,如 Java、C/C++、PHP、Javascript 和测试人员

采纳答案by howlger

  1. In Window > Preferences: Install/Update > Available Software Sitemake sure that the Latest Eclipse Releaseupdate site exists and is checked. Otherwise (in older versions or when this update site has been removed in newer versions), click Add..., enter the update site location https://download.eclipse.org/releases/latestand click OK.
  2. Help > Check for Updates
  1. Window > Preferences: Install/Update > Available Software Site确保最新的 Eclipse Release更新站点存在并被选中。否则(在旧版本中或当此更新站点在较新版本中已被删除时),单击添加...,输入更新站点位置https://download.eclipse.org/releases/latest并单击确定
  2. 帮助 > 检查更新

See also Eclipse Wiki - FAQ How do I upgrade Eclipse IDE?

另请参阅Eclipse Wiki - FAQ 如何升级 Eclipse IDE?

回答by Kondal Kolipaka

This might be useful.

这可能有用。

https://wiki.eclipse.org/FAQ_How_do_I_upgrade_Eclipse_IDE%3F

https://wiki.eclipse.org/FAQ_How_do_I_upgrade_Eclipse_IDE%3F

There are some package structural changes from Eclipse Neon.

Eclipse Neon 有一些包结构变化。

回答by NoDataFound

I don't think updating from Update Site will update the eclipse.ini file: you need to fix it.

我认为从更新站点更新不会更新 eclipse.ini 文件:您需要修复它。

-startup
plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.library    plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.500.v20170531-1133

However, if you simply want to keep your preferences and your plugin, I suggest you to use Eclipse for that:

但是,如果您只是想保留您的偏好和插件,我建议您为此使用 Eclipse:

In Oxygen.1 (or the updated Eclipse), you can install feature/plugins

在 Oxygen.1(或更新的 Eclipse)中,您可以安装功能/插件

  1. using an existing installation (go to File > Importthen select *Install > From Existing Installation)
  2. using an exported software item (go to File > Importthen select *Install > Install Software Items from File)
  1. 使用现有安装(转到“文件”>“导入”,然后选择“*安装”>“从现有安装”)
  2. 使用导出的软件项目(转到文件 > 导入,然后选择 *安装 > 从文件安装软件项目)

For the second option, you need to export it first on the previous Eclipse using File > Export > Install > Installed Software Items to File.

对于第二个选项,您需要首先使用File > Export > Install > Installed Software Items to File在以前的 Eclipse 上将其导出

Note:the Eclipse directory store little configuration (at least, it store the known workspaces/update site). This link heremight be of interest.

注意:Eclipse 目录存储很少的配置(至少,它存储已知的工作区/更新站点)。这此链接可能会感兴趣。