Blog Post

Jaunty 64-bit and Eclipse

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.

This entry was posted in Application, Linux and tagged , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.
  • Pingback: Bonnie Tyler - Total Eclipse Of The Heart song lyrics()

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

  • Geoff

    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!

  • raul

    Hot dog! It worked! thanks!

  • Subscribe to nixternal.com

     Subscribe in a reader

    Or, subscribe via email:
    Enter your email address:

  • Archives


semidetached
semidetached
semidetached
semidetached
%d bloggers like this: