Ultra-simple Ubuntu under installation Eclipse method Source: Linux Community Xyw_eliot
1, first of all to ensure that the installation of the JDK under Ubuntu, installation method see: Ubuntu 12.04 Installation and configuration Java JDK see http://www.linuxidc.com/Linux/2012-10/71937.htm
2. Download Eclipse here
3. Unzip the eclipse into the directory you want to install, then copy the JRE file from the JDK installation directory to the Eclipse installation directory, then double-click the Eclipse Run icon and Eclipse is up.
How to create an Eclipse launcher on the desktop
1, sudo apt-get install--no-install-recommends Gnome-panel
2. After completion, run: Gnome-desktop-item-edit ~/--create-new
Or use the following methods:
$ sudo su
# Vim/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.
Attention:
Exec=/usr/local/eclipse/eclipse
icon=/usr/local/eclipse/icon.xpm
The Eclipse executable files and icons are located in the directory, according to their actual situation modified.
Install eclipse under Ubuntu