Tuesday, August 11, 2009

Eclipse 3.5 "Galileo" packages for Ubuntu

UPDATE 29/10/2009: Ubuntu 9.10 Karmic Koala finally has a proper Eclipse 3.5 packages, but you'll probably still be interested in my plugins: take a look here

I've stopped providing packages for older versions of Ubuntu. I recommend you upgrade to at least Ubuntu 9.10.

If you're both an Ubuntu user and a developer using Eclipse, you probably know about the humiliating state the Eclipse packages in the Ubuntu repository are in at the moment. The latest version available in Jaunty is Eclipse 3.2!

So I decided to set up a PPA with up-to-date eclipse packages and also packages for many of it's more popular plugins. To use it, just add the following line to your software sources list: deb http://ppa.launchpad.net/yogarine/eclipse/ubuntu jaunty main

And then run the following on the terminal to add my gpg key: wget http://www2.yogarine.com/eclipse-ppa.key -O- | sudo apt-key add - && sudo apt-get update

Now you can install my eclipse packages like you normally would, e.g.: sudo apt-get install eclipse-pdt Will install the Eclipse PHP Development Tools and all it's dependencies.

For a list of available packages and more info check: https://edge.launchpad.net/~yogarine/+archive/eclipse

20 comments:

dcanti said...

Thanks for the packages!

i haven't installed yet, but i'll use your packages soon as possible, the 3.2 is horrible.

dcanti said...

You have the photran add into the packages in the launchpad repository?

Yogarine said...

I'll add it to my list of stuff to package. ;-) Right now I'm also thinking about adding Mylyn, CDT, ADT (Android Development Tools) and the Google Developer plugin.

Kota said...

Thanks, downloading/installing now :)

Luca said...

Hi, thanks for the repo.
I did the installation (or better the upgrade) after adding your repo.
Now when I start eclipse, it stops at splash screen... no progress bar at all... can you help?

Yogarine said...

@Luca
I recommend removing all eclipse-* packages first, and then
reinstalling Eclipse from my repo. I never tested upgrading from the
current Eclipse.

Luca said...

...well I tried again and it actually start but it takes up to 5 minutes!!!
And also it cannot open the editor and show me and error. Finally it has problems with the Globalmenu applet (this is a problem of global menu, not eclipse). I think I'll switch back to 3.2 and wait for Karmic...

Yogarine said...

Hmz... Sounds like you need to remove your ~/.eclipse directory.

Add my repositories to your sources list and then try:
sudo apt-get update && sudo apt-get --purge remove eclipse-* && rm -r ~/.eclipse && sudo apt-get install eclipse-platform

Luca said...

:(
Tried but still no luck...

Luca said...

Ok, surfing around I discovered that sun-java6 has to be set as the default virtual machine. So I did...

sudo update-java-alternatives -s java-6-sun

...and now eclipse starts up in a second. :)

But now I still get the following error

Could not open the editor: No editor descriptor for id org.eclipse.jdt.ui.CompilationUnitEditor

Any idea?

Luca said...

Ok, now I got it!

I had to reinstall sun-java6-jdk then reset perspectives in eclipse.
Now it works.

So basically if you want to upgrade from 3.2.2 (ubuntu default version) remember to set sun-java6 as default jvm, reinstall sun jdk, clear .eclipse folder and reset perspectives in galileo

Keith Ng said...

Thanks - much appreciated.

YeRo said...

Thanks! this is great!

jonny said...

Hi Yogarine, I've installed your package but I've a problem when using an https svn repository. The problem is that eclipse didn't save the username and the password when opening eclipse as a user. If I open eclipse as root I don't have this problem. Is there a possibility to avoid this problem? Thank you.

Robert said...

Thank you thank you thank you! I have been looking for this for months. I can't understand why repository support for Eclipse is so terrible...

Anonymous said...

thank you very very much! works like a charm!

Vahid said...

Thanks Buddy ,

You almost saved my my next python project !!

Thanks again :)

Kenneth said...

Works Great! Thanks! been struggling all day ;)

dcanti said...

Hey man, can you put the CDT and the PTP in 9.04 repos?

Anonymous said...

This saved my day. After some crazy updating of my Fedora 14, this happened to me. I'm using openjdk and this works fine too. Thanks a million!