How to Install Eclipse IDE on Ubuntu 18.04 / 16.04

Eclipse IDE is the most generally utilized Java incorporated advancement condition (IDE). It is extensible by means of modules, and it can likewise be utilized for advancement in other programming dialects, for example, C++, JavaScript, and PHP.

Update Repository

Step 1:- Update the current Ubuntu repository by using the command.

$ sudo apt-get update

Install Snap

Step 2:- Install the Snap by following the command.

$ sudo apt-get install snapd snapd-xdg-open -y

Install Eclipse IDE

Step 3:- To install the Eclipse IDE use the following command.

$ sudo snap install eclipse –classic

Technique 2:

Installing Eclipse from the official bundle.

Download Eclipse IDE

Step 1:- Download the latest Eclipse IDE from official website link given below :-

https://www.eclipse.org/downloads/packages/

To download the packages using wget you need to use following command.

$ cd /opt
$ sudo wget http://mirror.kakao.com/eclipse/technology/epp/downloads/release/oxygen/3a/eclipse-jee-oxygen-3a-linux-gtk-x86_64.tar.gz

Change the download url according to your requirement, In this post, I am using eclipse jee oxygen 3A.

Extract the Downloaded Package

Step 2:- Use the following command to extract downloaded tar file of eclipse jee Oxygen.

$ sudo tar -xvzf ~/Downloads/eclipse-jee-oxygen-3a-linux-gtk-x86_64.tar.gz

Configure Menu Entry

Step 3:- Use the following steps for that, You need to create eclips.desktop file with given content code.

$ sudo vim eclipse.desktop

and Add the following code and save and exit from vim editor.

[Desktop Entry]
Name=Eclipse
Type=Application
Exec=/opt/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=Eclipse
Name[en_US]=Eclipse

Step 4:- To get eclip access icon on Ubuntu use the following to create it.

$ sudo desktop-file-install eclipse.desktop

How to Install Eclipse IDE on Ubuntu 18.04 / 16.04

One thought on “How to Install Eclipse IDE on Ubuntu 18.04 / 16.04

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top