Eclipse Galileo installation on debian and ubuntu

28 06 2009

This Instruction is now deprecated till there is now a Debian Package for 3.5 in the unstable tree:

http://packages.debian.org/sid/eclipse

i suggest to use this package instead of the tutorial.

First of you need to install the java from sun (maybe it will run with gcj but to make it work flawless its always better to install the sun java version).

sudo aptitude install sun-java6-jdk

till there is no deb package we can install it in the home-dir like every other application.
If you never done that before you need to set up the requested directories by exectuing:
mkdir -p ~/bin/packages

and now you can download your installation files.
choose the most fitting preconfigured installation from the eclipse download center.
Place the file in the packages directory and go there by console.
tar xvzf *.tar.gz

should now extract your new eclipse version.
Caused by the simple name we should move eclipse in a more common directory name like eclipse / eclipse-3.5 or eclipse-galileo.

you can do that by
mv eclipse eclipse-galileo

this is a total optinal step and doesn’t effect the usability.

To have better access to your eclipse its good to link the executable.
this is done by:
ln -s ~/bin/packages/eclipse/eclipse ~/bin/eclipse

as alternative you can write a small shell script to add parameters.
#/usr/bin/bash
`~/bin/packages/eclipse3.5/eclipse -vmargs -Xms128M -Xmx512M -XX:PermSize=128M -XX:MaxPermSize=512M &> /dev/null` &

if you use the bash script you need to tell the system that its executable:
chmod +x ~/bin/eclipse

and your done.

after this you can use eclipse like a normal consol programm. Typing eclipse in the consol or the execute-tab (ALT+F2) will open your new eclipse. If you have Gnome-Do installed you can SUPER+SPACE to execute eclipse to. If you dont have GnomeDo installed -> get it (sudo aptitude install gnome-do). This is totally optional, but it think you will like it.

The ubuntu team is working on a package for galileo but this is not finished yet. so later it will available true the official source or:
deb http://ppa.launchpad.net/eclipse-team/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/eclipse-team/ppa/ubuntu jaunty main

Advertisements

Aktionen

Information

One response

1 02 2010
osman

thanks very much. this guide really helped me and saved a lot of time.

Kommentar verfassen

Trage deine Daten unten ein oder klicke ein Icon um dich einzuloggen:

WordPress.com-Logo

Du kommentierst mit Deinem WordPress.com-Konto. Abmelden / Ändern )

Twitter-Bild

Du kommentierst mit Deinem Twitter-Konto. Abmelden / Ändern )

Facebook-Foto

Du kommentierst mit Deinem Facebook-Konto. Abmelden / Ändern )

Google+ Foto

Du kommentierst mit Deinem Google+-Konto. Abmelden / Ändern )

Verbinde mit %s




%d Bloggern gefällt das: