Google

July 8, 2009

Eclipse and firefox 3.5 on linux



If you updated to the last version of the cool open-source web browser, mozilla firefox, on your favorite linux distro, you may have noticed some problems. For instance, if you opened the welcome view or the help contents, the following exception has appeared :

org.eclipse.swt.SWTError: XPCOM error -2147467259

This comes from xulrunner 1.9.1 which breaks binary compatibility with previous versions.You need to add to your eclipse.ini file as jvm argument (after "-vmargs") :

-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-1.9.0.11

Hope this help.

4 comments:

  1. Hi,
    I'm curious to know how you installed Firefox 3.5 and the problematic 1.9.1 xulrunner version? Do latest Linux distro's already contain the new 1.9.1 version? Which ones?

    When you manually installed Firefox 3.5 by downloading the package the xulrunner package should actually not intefere with Eclipse, since it's not install in a system directory, right?

    Many Thanks,
    Martin

    ReplyDelete
  2. Hi Martin,

    I installed it with my distribution update manager. To have the latest Firefox I added the mozilla repository.
    For opensuse see http://en.opensuse.org/YaST_package_repository.

    And you right, if one installs manually firefox 3.5, there is no interference.

    Regards,

    Mariot

    ReplyDelete
  3. Wow, thanks, that did the job!

    My Eclipse install actuall failed with an empty dialog box, no text, nothing clickable, just grey. All I could do was kill the process. Checking which files the process had opened last then me to your blog entry.

    It happened after installing firefox-3.5 on Ubuntu, from the official repository which, now I do remember, had also updated xulrunner.

    ReplyDelete