1 September, 2009

Installing Eclipse 3.5(Galileo) on Ubuntu



If you want to install the latest version of Eclipse(Galileo) under Ubuntu this is how to do it.

Firstly move to the /opt directory

cd /opt/

Now you need to decide if you want the 32bit or 64 bit version, run the command that suits you best if you are not sure go for 32bit...

32bit
sudo wget http://d2u376ub0heus3.cloudfront.net/galileo/eclipse-java-galileo-linux-gtk.tar.gz

64bit untested
sudo wget http://d2u376ub0heus3.cloudfront.net/galileo/eclipse-java-galileo-linux-gtk-x86_64.tar.gz


Now that you have got the version of eclipse you want untar it with the following command:

sudo tar xzvf eclipse-java-galileo-linux-gtk*

Now that you have done that we can move the directory created that is called eclipse and rename it to eclipse3.5, this is an optional step that you do not have to do but it allows multiple versions of eclipse to be installed which can be useful. If you choose to do this run the following command:

sudo mv eclipse eclipse3.5

Now we are going to make a bash script to run the application, to do this run the following command:

sudo gedit eclipse

into the file you have created enter one of the following piices of text, if you have moved the directory use the first one if not use the second:

`/opt/eclipse3.5/eclipse -vmargs -Xms128M -Xmx512M` &
OR
`/opt/eclipse/eclipse -vmargs -Xms128M -Xmx512M` &

NOTE: The Xms and Xmx values denote the amount of memory eclipse can use, I normally change the Xmx to 1024 instead of 512 to give eclipse more memory, however you should only do this if you have 2Gb of memory

now that we have done that we need to make the file we just created executable, to do that run the following command:

sudo chmod 777 eclipse

We can now check that eclipse loads by running the following command:

./eclipse

You can now make a shortcut in the panel or on your desktop or wherever you like pointing at the eclipse file we just created.

That is it, you have the new version of eclipse installed, have a look at some of my other articles to see how to set up eclipse to run faster/better and how to install certain plugins.

Enjoy...

------------------------------------------
NOTE: These articles are tutorials/general ramblings. I do not except responsibility for anything that goes wrong, be it a broken HDD, an entire computer or if you chop off your arms, follow anything I say on this site at your own risk.
------------------------------------------

Comments

Name:Frank
URL:
Comment:
THX :-)

------------------------------------------
Name:Jo
URL:
Comment:
Magical, thank u! :)

------------------------------------------


Leave a comment

Name:


URL:(optional)


Protection Number (Please insert in box below):7445


Comment:


This website was designed and implemented by myself, all opinions and views expressed are my own unless otherwise specified. Excluding the images contained within the header and any specified elsewhere on the site images are my own.

Copyright Rob Ward
2009 - 2010