Installing Eclipse on ubuntu is not very complex process, first of all make sure to install Java on your Linux system, Eclipse needs java as pre-requisite , run following command to install java on your Ubuntu system.
for Java 7
|$ sudo apt-get install openjdk-7-jdk|
or for Install Java 8 Click links or Install Java 9 Click links
It might take some moments to download and install java, once the installation is complete, download Eclipse according to your operating system architecture, i.e. 32 bit or 64 bit.
Decompress the downloaded archive in your file browser and navigate to the result “eclipse-installer” folder, Double-click on file eclipse-inst.
When the wizard launches, select install item.
You may select Advanced Mode from top-right menu to get more options, network proxy settings, etc.
Select installation folder and finally click INSTALL button.
Final, create a launcher shortcut for eclipse IDE.
Open terminal from Unity Dash, Application Launcher, or via Ctrl+Alt+T shortcut key. When it opens, run command below:
|$ sudo gedit /usr/share/applications/eclipse.desktop|
It will launch an empty file, copy and paste the followings into this empty file, as shown in following.
Comment=Integrated Development Environment
Depends on your installation folder, check out in file browser, change the value in red