Installing Eclipse on Ubuntu - Linux

To install it manually by downloading the Eclipse files from http://www.eclipse.org/downloads/. You will need to install JRE or JDK first before you can run Eclipse. You can do this by typing this in the terminal.
sudo apt-get install sun-java6-jre
Extract the Eclipse files to the /opt directory so that other users can have access to it.
tar xzf eclipse-SDK-3.5.2-linux-gtk.tar.gz
sudo mv eclipse /opt/eclipse
Then create an eclipse executable in your path.
sudo touch /usr/bin/eclipse
sudo chmod 755 /usr/bin/eclipse
sudo gedit /usr/bin/eclipse
Then type in the followings and save.
#!/bin/sh
#export MOZILLA_FIVE_HOME=”/usr/lib/mozilla/”
export ECLIPSE_HOME=”/opt/eclipse”
$ECLIPSE_HOME/eclipse $*
Then create a gnome menu item.
sudo gedit /usr/share/applications/eclipse.desktop
Enter the following and save.
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse IDE
Exec=eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=truep
Now you can run Eclipse from Applications -> Programming -> Eclipse. You can also install different Eclipse packages for example the Eclipse + PDT package by using the manual way of installing.

Comments

Popular posts from this blog

How to Reset Root Password in Drupal 7 with phpMyAdmin

Drupal - Hiding field group and its Children