Install the latest version of Eclipse in Ubuntu 14.04
Source: Linux Community Linux
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:
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 website to download the latest version of Eclipse,
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
After the decompression is complete, you can see Eclipse in the/opt/directory.
4. Create an Eclipse shortcut
1) Perform the following command at 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
Categories=development;ide;
Name[en]=eclipse
Installation complete, wish you success!
If the content is wrong, refer to the original text:
Www.linuxidc.com/Linux/2014-08/10509.htm
Install the latest version of Eclipse in Ubuntu 14.04