Upgrading Eclipse from Juno to Kepler

From version 3.4 onwards updating the Eclipse Java IDE on Windows from release to release is relatively painless, it is no longer necessary to do a full reinstall. In case you’re using it for Android development, a simple SDK update is more likely to cause you headaches, along the lines of new hidden settings and defaults.

However, for reasons I don’t understand, there is still no automatic upgrade notification for major releases. In order to get the latest packages, you need to manually add the required repositories.

Looking for 4.4 Luna? Have a look at my new post with updated repositories.

Initial setup

First things first, as with most open source build systems, it’s always a good idea to install it outside Windows’ Program Files folders to avoid problems with its virtualised folders whenever you run programs under different user accounts. Consequently I have my Eclipse IDE installed under D:\Utils\Eclipse, but anything outside Program Files would work just as well, for example C:\Eclipse.

Its always a good idea to keep your Eclipse up to date, before proceeding with the release upgrade, update your current packages by selecting Help > Check for Updates from the menu.

Adding repositories

To add the repositories for the new major release, just click on Window > Preferences on the menu. In the Preferences window, select Install/Update > Available Software Sites on the left.

Edit your software site links and change the release and update repositories to the following:

After the change, it should look like the following:

Available software sites

Available software sites

As I’m using it for Android development, I also have the ADT repo added in the screenshot above, that link doesn’t need changing. If you’re not using it, you don’t need to add it.

One thing to note with the Kepler release is that Egit has been moved into the main repository, so if you have the old Egit repo among your links, you can safely delete it.

At this point, it’s highly recommended to save your software sites by selecting them and clicking the Export button. For some reason, Eclipse release upgrades always clear out the software site settings for me, you will probably need to restore them after the upgrade.

Release upgrade

The is no difference from the usual software updates, just select Help > Check for Updates from the menu. It will fetch the latest package lists, and offers you the new software to install. Press Next a few times, accept the licenses, and it will automatically install the latest release.

Checking for updates...

Checking for updates…

Packages found to update

Packages found to update

Installing updated packages

Installing updated packages

Eclipse is asking you to restart. Be nice and do what it says.

Eclipse is asking you to restart. Be nice and do what it says.

When it’s finished, restart Eclipse and you’ll be rocking the latest Kepler release. Please note that after the first restart the splash screen might still show the old version, but the IDE has in fact been updated. If you don’t believe me, just restart it again to see the updated splash screen.

That’s it. In case your software sites has been deleted, just restore them from the exported XML.

Share Button
Tagged with: , , ,
2 comments on “Upgrading Eclipse from Juno to Kepler
  1. jessi says:

    Thanx, The upgrade really worked!!

2 Pings/Trackbacks for "Upgrading Eclipse from Juno to Kepler"
  1. […] my previous post with detailed instructions and screenshots if you’re not sure where to look, just make sure […]

  2. […] my old post with detailed instructions and screenshots if you’re not sure where to look, just make sure […]

Leave a Reply