I want to install the latest version of Eclipse but the Ubuntu Software Centre contains an older version.
Is there a PPA or some other way to install latest Eclipse?
Please describe the steps for full installation.
eclipseppasoftware installation
I want to install the latest version of Eclipse but the Ubuntu Software Centre contains an older version.
Is there a PPA or some other way to install latest Eclipse?
Please describe the steps for full installation.
Best Answer
If you've downloaded Eclipse from their official website, follow these steps for the installation.
Extract the eclipse.XX.YY.tar.gz using
Become root and Copy the extracted folder to
/opt
Create a desktop file and install it:
and copy the following to the
eclipse.desktop
fileand make sure that it has executable permission, then execute the following command to automatically install it in the unity:
Create a symlink in
/usr/local/bin
usingFor eclipse icon to be displayed in dash, eclipse icon can be added as
Don't forget that you need to have either OpenJDK or Sun Java installed to be able to run eclipse. Check this question for more information about Java installation. Here is a simple example of installing Open JDK 1.6:
Launch Eclipse and then give it the required permissions to modify the osgi file:
NB! You must launch Eclipse first, because the org.eclipse.osgi directory is created only after the first launch.
That's it.