Sunday, March 4, 2018

How to Install Eclipse Oxygen IDE in Debian, Ubuntu, and Linux Mint

For installing Eclipse IDE in your system, first open a browser and go to Eclipse official download page and download the latest version of the tar package specific to your installed Linux distribution architecture.

Alternatively, you can also download Eclipse IDE tarball file in your system via wget utility, by issuing the below command.

-------------- For 64-bit Architecture -------------- 
[root@server ~]# wget http://ftp.fau.de/eclipse/technology/epp/downloads/release/oxygen/2/eclipse-jee-oxygen-2-linux-gtk-x86_64.tar.gz
-------------- For 32-bit Architecture --------------
[root@server ~]# wget http://ftp.fau.de/eclipse/technology/epp/downloads/release/oxygen/2/eclipse-jee-oxygen-2-linux-gtk.tar.gz
After the download completes, navigate to the directory where the archive package has been downloaded, usually Downloads directories from your home, and issue the below commands to start installing Eclipse Oxygen IDE.
The commands executed below will decompress the archive directly into /opt directory and create a symlink into an executable path for eclipse executable file.

[root@server ~]# sudo tar xfz eclipse-jee-oxygen-2-linux-gtk-x86_64.tar.gz -C /opt/
[root@server ~]# ls /opt/eclipse/
[root@server ~]# sudo ln -s /opt/eclipse/eclipse /usr/local/sbin/eclipse
[root@server ~]# ls -l /usr/local/sbin/

Next, create Eclipse desktop launcher icon into system applications directory.

[root@server ~]# sudo nano /usr/share/applications/eclipse-oxygen.desktop


Add the following configuration into the file eclipse-oxygen.desktop.

[Desktop Entry]
Name=Eclipse Oxygen
Comment=Eclipse Oxygen IDE
Type=Application
Encoding=UTF-8
Exec=/usr/local/sbin/eclipse
Icon=/opt/eclipse/icon.xpm
Categories=GNOME;Application;Development;
Terminal=false
StartupNotify=true

After you’ve created Eclipse launcher, use Ubuntu dash to search and open the application. On the first application launch, add Eclipse workspace directory and hit on Launch button to start the application.


NEXT ARTICLE Next Post
PREVIOUS ARTICLE Previous Post
NEXT ARTICLE Next Post
PREVIOUS ARTICLE Previous Post