Eclipse is an integrated development environment (IDE) and open source tool. The Eclipse mainly help us to developing Java applications also support Ada, C, C++, COBOL, Perl, PHP, Prolog, Python, R, Ruby and Rails framework, Lasso, Lua, NATURAL, PHP and etc.
It contains a base workspace and We can easily customize an extensible plug-in system, including git code repositories, Bugzilla databases, download site, website, EE, JPA, JSF, Mylyn and others.
This post describes about how to install Eclipse on Ubuntu system.
Step 1 :
Install Java package using apt-get command,
~$ sudo apt-get install openjdk-7-jdk
To check the current version,
~$ java -version
java version "1.7.0_91"
OpenJDK Runtime Environment (IcedTea 2.6.3) (7u91-2.6.3-0ubuntu0.15.04.1)
OpenJDK 64-Bit Server VM (build 24.91-b01, mixed mode)
Step 2 :
Before download Eclipse make ensure your operating system whether 32 bit or 64 bit, download eclipse packge using wget command
32 Bit:
# wget http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/helios/SR1/eclipse-jee-helios-SR1-linux-gtk.tar.gz
64 Bit:
# wget http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/helios/SR1/eclipse-jee-helios-SR1-linux-gtk-x86_64.tar.gz
or click and dowload the tool,
Step 3 :
By default the file downloaded in ~/Downloads directory, just extract that file and move to /opt directory
# tar -zxvf eclipse-jee-helios-SR1-linux-gtk.tar.gz
# mv eclipse /opt
# mv eclipse /opt
Step 4 :
Then create a Eclipse shortcut on Desktop. Open a another terminal window tab (Shift + Ctrl + T), create a file eclipse.desktop in in /usr/share/applications/ and below lines,
# vim /usr/share/applications/eclipse.desktop
[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
Save and close the file.
wq!
Execute the below command to install the shortcut, you can view the Eclipse shortcut icon
$ sudo desktop-file-install eclipse.desktop
or
sudo desktop-file-install /usr/share/applications/eclipse.desktop
Then, Eclipse icon to be displayed in dash, execute the below command.
sudo cp /opt/eclipse/icon.xpm /usr/share/pixmaps/eclipse.xpm
Another way Eclipse Install in Ubuntu:
This is another way method to install Eclipse, I had tested Ubuntu 15.X version only,
Install java package, execute below command,
root@thelinuxfaq:~# sudo apt-get install ubuntu-make
It will ask installation path, by default /root/tools/ide/eclipse you can also change to destination path.
root@thelinuxfaq:~# sudo umake ide eclipse
Choose installation path: /root/tools/ide/eclipse
change to
Choose installation path: /opt/eclipse
Downloading and installing requirements
100% |########################################################################|
Installing Eclipse
|#############################################################################|
Installation done
To make sure that package has been installed ?
root@thelinuxfaq:~# cd /opt/eclipse/
root@thelinuxfaq:/opt/eclipse# ls
root@thelinuxfaq:/opt/eclipse# ls
about_files artifacts.xml dropins eclipse.ini features notice.html plugins
about.html configuration eclipse epl-v10.html icon.xpm p2 readme
Comments (0)