Environment:
Ubuntu 14.04
Steps:
1, install the configuration jdk, see http://my.oschina.net/u/1407116/blog/227084
2. Download Eclipse
Download the Linux version of Eclipse IDE for Java EE developers from official website http://www.eclipse.org/downloads/
Eclipse-sdk-3.7.2-linux-gtk.tar.gz
3. Decompression
$ TAR-ZXVF eclipse-sdk-3.7.2-linux-gtk.tar.gz
Extract it Out is an Eclipse folder
4. Move the folder to the installation directory
$ sudo mv eclipse/usr/local/
5. Start Eclipse
$/usr/local/eclipse/eclipse
6. Create a desktop link
$ sudo su
# Gedit/usr/share/applications/eclipse.desktop
Write the following content
[Desktop Entry]
Name=eclipse
Comment=eclipse SDK
Encoding=utf-8
Exec=/usr/local/eclipse/eclipse
icon=/usr/local/eclipse/icon.xpm
Terminal=false
Type=application
Categories=application;development;
You can see the Eclipse icon under application-programming when you're done.
cankao:http://blog.csdn.net/gavin_dinggengjia/article/details/7364375
Add Eclipse in Ubuntu