How to update Eclipse from 2018-09 to 2018-12
Asked Answered
C

3

18

I have Eclipse 2018-09. My impressions was that Eclipse was moving to a rolling quarterly release, and by that I presumed I'd magically be offered updates every quarter to the newest. But now that 2018-12 is out, my instance does not detect any new updates.

Looking at the update sites in Windows -> Preferences, Install/Update -> Available Software Sites (incompletely listed below), I notice they seemed to be pinned to specific versions:

I've noticed there is also now an Eclipse Installer, which says it is "The easiest way to install and update your Eclipse Development Environment.". However, there is no description of updating, and when running it and pointing to the existing folder for 2018-09 (yes, I made a backup first to be safe), it does not update that folder but instead just creates a new sub-folder under the existing 2018-09 version called "eclipse" with presumably a complete copy of the new eclipse. So that's a failed attempt.

What is the recommended way of upgrading from 2018-09 to 2018-12? Is it:

  1. Manually download a new copy of Eclipse and spend hours configuring it to hopefully be almost the same as the configurations in 2018-09
  2. Run the Eclipse installer in some other manner than I already have.
  3. Manually updating the update sites (to what values?). If the so, is there a way to specify to always use the latest on the update train?
  4. Other?
Choriamb answered 28/12, 2018 at 16:27 Comment(0)
P
23

See Eclipse FAQ - Always enable major upgrades:

To always enable major upgrades of your IDE once and for all:

  1. from the Available Software Sites preference page
  2. enable the Latest Eclipse release http://download.eclipse.org/releases/latest repository by ticking the checkbox.
  3. Apply and Close
  4. Check for updates

The similar workflow can be used to hide and disable automatic proposal of major upgrades.

To my knowledge, the update site http://download.eclipse.org/releases/latest exists since Eclipse Photon (4.8) in Window > Preferences: Install/Update > Available Software Sites but is not checked by default.

If you want to change the default of this preference, vote for or comment on Eclipse bug 539281 - Enable http://download.eclipse.org/releases/latest by default.

The two advantages of using the Eclipse Installer over the direct installation of one or more IDE packages are:

  • The Eclipse Installer saves disk space when installing multiple IDE packages (by using a shared pool for the plug-ins of all IDE packages)
  • The Eclipse Installer makes it easier to contribute to an Eclipse project (advanced mode).
Polygyny answered 28/12, 2018 at 21:33 Comment(4)
I get the following error when checking for updates: Unable to read repository at download.eclipse.org/releases/latest. Unable to read repository at download.eclipse.org/releases/2018-12. No repository found at download.eclipse.org/releases/2018-12/201812191000.Wallford
@BasilVandegriend Yesterday (December 31, 2018) eclipse.org was down for a few hours. Please try again.Polygyny
You should use HTTPS variant: download.eclipse.org/releases/latest instead of simple HTTP first because of security and also because unsecure http site seems to not longer work.Ursula
I had to "Reload" download.eclipse.org/releases/latest on the "Available Software Sites" page to find the available updates.Roussel
W
0

Another way to install Eclipse 2018-12 is to use Chocolatey on Windows. Eclipse 2018-12 corresponds to version 4.10.

PS C:> choco list eclipse Chocolatey v0.10.11 eclipse 4.10 [Approved] ...

PS C:> choco install eclipse ...

But this won't do an in-place upgrade.

Wallford answered 1/1, 2019 at 15:32 Comment(0)
F
0

Go to Window-> Preferences -> Install/Update -> Available Software Sites

  • First, if exists remove duplicate sites
  • Second, click to eclipse related update sites and Reload
Faun answered 2/4, 2019 at 22:46 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.