Installing eclipse in ubuntu/linux

Download eclipse from http://www.eclipse.org/downloads/
Make an opt directory in user’s home directory

$ mkdir ~/opt

Go to the directory where you have downloaded eclipse

$ tar -xvf eclipse-SDK-3.4.1-linux-gtk.tar.gz && mv eclipse ~/opt

Make a bin folder in user’s home directory

$ mkdir ~/bin

Next create an executable for Eclipe at ~/bin/eclipse

$ vi ~/bin/eclipse

Add the following lines in this file

export MOZILLA_FIVE_HOME="/usr/lib/mozilla/"
export ECLIPSE_HOME="$HOME/opt/eclipse"
$ECLIPSE_HOME/eclipse $*

Finally make script executable

$ chmod +x ~/bin/eclipse

You can now execute that file to start up Eclipse.

<< Back to Setting up j2ee developer environment ...

Comments

One Response to “Installing eclipse in ubuntu/linux”

  1. Setting up j2ee developer environment in ubuntu/linux : TechPitcher on February 9th, 2009 12:29 am

    [...] java developer machine has following most frequent tools in his machine. 1.  Sun JDK 6.0 2.  Eclispe 3.4 3.  Tomcat 6.X 4.  MySql 5 5.  Apache [...]

Leave a Reply




Related Post

Setting up j2ee developer environment in ubuntu/linux
Installing JDK in ubuntu/linux
Installing tomcat in ubuntu/linux
Installing mysql in linux
‘ant’ is not recognized as an internal or external command, operable program or batch file.
Technology