How to Install The Latest Eclipse in Ubuntu 16.04, 15.10?
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.
http://ubuntuhandbook.org/index.php/2014/02/install-oracle-java-6-7-or-8-ubuntu-14-04/
2. Download Eclipse from its website
http://www.eclipse.org/downloads/
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, etc.
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:
[Desktop Entry]
Name=Eclipse
Type=Application
Exec=/home/USERNAME/java-mars/eclipse/eclipse
Terminal=false
Icon=/home/USERNAME/java-mars/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=Eclipse
Depends on your installation folder, check out in file browser, change the value in red.
References
Install Oracle Java 6, 7, or 8 in Ubuntu 14.04 Trusty
http://ubuntuhandbook.org/index.php/2014/02/install-oracle-java-6-7-or-8-ubuntu-14-04/
How to Install The Latest Eclipse in Ubuntu 16.04, 15.10?
http://ubuntuhandbook.org/index.php/2016/01/how-to-install-the-latest-eclipse-in-ubuntu-16-04-15-10/
http://ubuntuhandbook.org/