1. Install Java.
Don’t have Java installed? Search for and install OpenJDK Java 7 or 8 via Software Center. Or install oracle java by following this post.
2. Download Eclipse from its website.
Check out your OS Type, 32-bit or 64-bit, by going to **
System Settings -> Details -> Overview,**
then select download Linux 32-bit or 64-bit of Eclipse Installer.
3. Run the installer wizard.
Decompress the downloaded archive in your file browser and navigate to the result “eclipse-installer” folder, right-click on file eclipse-inst and select Run.Don’t see the “Run” option? Go to file browser’s Menu **
Edit -> Preferences -> Behavior -> check
** “Run executable text files when they are opened”, and finally log out and back in (or run nautilus -q command in terminal).
When the wizard launches, select install item, then installation folder, and finally click INSTALL button.
You may select Advanced Mode from top-right menu to get more options, network proxy settings,
4. Create a launcher shortcut.
Open terminal from Unity Dash, Application Launcher, or via Ctrl+Alt+T shortcut key. When it opens, paste below command and run:
gedit .local/share/applications/eclipse.desktop
The command creates and opens a launcher file, for current user, with gedit text editor. When it opens, paste below content:
you can see this link enter link description here
solved How To Install Eclipse On Linux