Step 1:- Update the current Ubuntu repository by using the command.
$ sudo apt-get update
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
Installing Eclipse from the official bundle.
Download Eclipse IDE
Step 1:- Download the latest Eclipse IDE from official website link given below :-
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.
Comment=Integrated Development Environment
Step 4:- To get eclip access icon on Ubuntu use the following to create it.
$ sudo desktop-file-install eclipse.desktop