How to upgrade Eclipse from Luna to Mars (Will work for any version)

Hey guys!
In this post, I'll show you how to upgrade the Eclipse IDE from Luna to Mars (It will work for any base and target versions).

If you don't know what is Eclipse, this post is not for you (although you *could* check out my other posts :D).

First, check for updates (Help > Check for updates) on Luna (or whatever base version you have) and update any plugins you have.

Next, go to Window > Preferences > Install/Update > Available Software Sites. Select the Luna entry (again, whatever base version you have), click on Edit. In the dialog box, set the fields to the following:
Name: <TARGET_VERSION>
Location: http://download.eclipse.org/releases/<TARGET_VERSION_IN_LOWER_CASE>/
So if you were upgrading from Luna to Mars, set it to the following:
Name: Mars
Location: http://download.eclipse.org/releases/mars/
Click on OK in the dialog box and again on OK in the window. Now, check for updates (Help > Check For Updates). It will show a list of updates. Follow the steps on screen and wait for it to finish. Once done, it'll ask to restart Eclipse. Continue with the restart. After the upgrade, it would show the old splash screen for the first start but it will switch to the newer splash in subsequent starts. Choose your preferred workspace. It will ask whether it should upgrade the workspace (thus making it incompatible with previous versions). Click on OK and you're done!

Comments and suggestions are always welcome :)
Cheers!
-Technohacker

Comments

Popular Posts