Are you tired of trying to install eclipse IDE in ubuntu
16.04 ? You don’t have to worry about that moreover. In this article, I am
going to describe how to install Eclipse juno IDE(from Eclipse Juno SR2 Packages, that has developed for Java EE Developers) in ubuntu 16.04.Eclipse
is an integrated development environment (IDE) used in computer programming,
and is the most widely used Java IDE.
First you have to download compressed Linux 64-bit or 32-bit installation file according to your system configuration from following link.
Downloaded file will be automatically stored in Downloads
directory.
Then
- move
that downloaded file from downloads directory to Home directory.
- extract
that downloaded compressed file by right click on the file and select "Extract Here".
After extract, there will be a folder named eclipse. Now you
have to add read permissions to all files those are inside eclipse directory.
You only have to navigate terminal to your home directory and then run
following terminal command. Because your extracted eclipse folder is placed in home
directory.
chmod -R
+r eclipse
Then you have to create Eclipse executable on /usr/bin path
first we can create file for
eclipse on /usr/bin directory using following command.(terminal is navigated to
home directory all the times)
touch
/usr/bin/eclipse
Next you have to change
permission to allow everyone to read and execute the file, and the file owner
is allowed to write to the file as well.You only have to run following terminal
code to change permission.
chmod
755 /usr/bin/eclipse
Open created file in gedit
editor using following commad
sudo gedit -w /usr/bin/eclipse
Add ECLIPSE_HOME variable to that file. You have to copy and paste following lines on that file.
#!/bin/sh
export ECLIPSE_HOME="eclipse"
$ECLIPSE_HOME/eclipse $*
You
just have to add your relative path from home directory to eclipse folder for ECLIPSE_HOME variable. In my computer,
eclipse folder is placed in home directory. So I only have to add “eclipse” as ECLIPSE_HOME variable. After pasting above lines save them using ctrl + c.
Create Gnome desktop launcher
We have
to create eclipse.desktop file, using gedit editor. To create that run following terminal
command
gksu
-u root gedit /usr/share/applications/eclipse.desktop
Then
eclipse.desktop file will be opened. You have to add following lines to that file
and save it.(save it using ctrl + s )
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse
SDK 4.2.0
Exec=eclipse
Icon=eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true
Make that file executable
sudo chmod +x
/usr/share/applications/eclipse.desktop
Now you can find eclipse application
and run it.
If you like this post, spread by sharing
it on social media. Thank you!
This article helps me a lot. Thankyou
ReplyDeleteWell come Uthpala
Delete