Jaunty 64-bit and Eclipse

March 9th, 2009  |  Published in FYI  |  4 Comments

It all started a couple of weeks ago, issues with getting Eclipse 3.4 installed on my machine that is. I am running Kubuntu Jaunty 64-bit and noticed that I was having issues with Eclipse 3.4. The issues seem to have stemmed from Xulrunner but the errors I located in /path/to/workspace/.metadata/.log said nothing about Xulrunner that I could find. It seemed to be issues with SWT. I went nuts, installing everything from the build-deps of the old Eclipse in the repos, to installing each and every libswt package known to man.

Well today I finally got fed up and decided to dig into it. Hell, not much digging was needed, because the first link I found had the answer. Simply export MOZILLA_FIVE_HOME to the location of Firefox prior to firing up Eclipse. Are you kidding me? That was it? Yes it was.

So here is how I set it up to work for me:

  1. Go to eclipse.org and download the Eclipse Classic 3.4.x 64-bit version.
  2. Extract the tarball (ie. tar -xf eclipse*.tar.gz)
  3. Move the eclipse directory to /opt/ (ie. mv eclipse/ /opt/)
  4. Create the file /usr/local/bin/eclipse and make it executable (ie. sudo touch /usr/local/bin/eclipse && chmod +x /usr/local/bin/eclipse).
  5. Add the following lines to the /usr/local/bin/eclipse:
export MOZILLA_FIVE_HOME=/usr/lib/firefox-3.0.7
/opt/eclipse/eclipse

That was it. Make sure that your installation of Firefox 3.0.x is correct in the export line and all should be good. Hope this helps any of you who were facing this problem or maybe who will face this problem in the future.

Responses

  1. Bonnie Tyler - Total Eclipse Of The Heart song lyrics says:

    March 9th, 2009 at 16:29:29 (#)

    [...] nixternal » Jaunty 64-bit and Eclipse [...]

  2. James Tait says:

    March 10th, 2009 at 11:39:24 (#)

    If you’re interested, we’re working to make it easier to create Eclipse packages across the range of GNU/Linux distros.

  3. GeoffNo Gravatar says:

    May 15th, 2009 at 15:34:37 (#)

    That’s not a new bug - I ran into the same problem and wasted several hours of my life installing Eclipse 3.4 on Ubuntu 8.10 (Intrepid Ibex) 64bit. I can’t remember if it effects only 64bit OSes or if 32bit ones suffer too, but as far as I can see it’s just an atrocious bit of packaging by Eclipse? I really can’t see why Eclipse depends on the Firefox cache directory - which presumably means it has a dependency on Firefox!

  4. raul says:

    June 3rd, 2009 at 01:03:05 (#)

    Hot dog! It worked! thanks!

Leave a Response

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">