As many developers know, the Ubuntu software source is not the latest version of Eclipse, and this tutorial teaches you how to quickly install the latest version of Eclipse's official release in Ubuntu 14.04.
So far, the official latest version of Eclipse is Eclipse Kepler (4.3.2), and we can use the following steps to install it quickly in Ubuntu 14.04 or other Ubuntu versions.
1. Installing OPENJDK Java 7
If you do not have Java installed on your system, we need to install OpenJDK Java 7 in advance as follows. Use Ctrl+alt+t to open the terminal and follow the steps below to install the Java version installation command required:
If you have installed OpenJDK in Ubuntu Software Center, please use the following command to remove it:
1. If you have installed OpenJDK in Ubuntu Software Center, please use the following command to remove it:
sudo apt-get purge openjdk*
2. Add PPA Source
sudo add-apt-repository Ppa:webupd8team/java
3. Update the source database
sudo apt-get update
4 Installing Oracle Java 7
sudo apt-get install Oracle-java7-installer
2. Download the latest Eclipse version
Visit the official website to download the latest version of Eclipse, this is not much to say, we go down.
http://www.eclipse.org/downloads/?osType=linux&release=undefined
3. Unzip Eclipse
Use Ctrl+alt+t to open the terminal and extract Eclipse to the/opt/directory for global use using the following command:
cd/opt/&& sudo tar-zxvf ~/download/eclipse-*.tar.gz
Once the decompression is complete, you can see Eclipse in the/opt/directory.
4. Create an Eclipse shortcut
1. Execute the following command in the terminal
Gksudo Gedit/usr/share/applications/eclipse.desktop
2. Paste and save the following content
[Desktop Entry]
Name=eclipse 4
Type=application
Exec=/opt/eclipse/eclipse
Terminal=false
icon=/opt/eclipse/icon.xpm
comment=integrated Development environment
Nodisplay=false
Categories=development;ide;
Name[en]=eclipse
So far, we've installed the latest version of Eclipse Kepler (4.3.2) into Ubuntu 14.04 and can use it.
How to install the latest version of Eclipse in Ubuntu 14.04