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.
Install eclipse under Ubuntu