Fixing Eclipse after the Firefox 3 rc1 update in Ubuntu 8.04

So you’re excited about the firefox 3 rc1 update in Ubuntu? It’s nice and speedy when using gmail but after updating eclipse stops working. It generates an error. The solution is easy, but here’s an example of the error message:

Exception in thread “Thread-1″ org.eclipse.swt.SWTError:
No more handles (java.lang.UnsatisfiedLinkError: no swt-mozilla-gtk-3349 or
swt-mozilla-gtk in swt.library.path, java.library.path or the jar file)
at org.eclipse.swt.SWT.error(SWT.java:3589)
at org.eclipse.swt.SWT.error(SWT.java:3481)
at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:323)
[a bunch trimmed]…

To solve it you simply

sudo apt-get install xulrunner

or

sudo apt-get install xulrunner-gnome-support

I found the solution at [everflux](http://everflux.de/eclipse-rcpswt-fehler-javalangunsatisfiedlinkerror-no-swt-mozilla-gtk-504/) but I don’t read German. The only part of the article I could make out was the error message and the apt-get command. :-)

Comments
11 Responses to “Fixing Eclipse after the Firefox 3 rc1 update in Ubuntu 8.04”
  1. Wojtek says:

    Thanks a lot for your solution. It helped me too with RSSOwl and FF 3 final release.

  2. Colin Mills says:

    Thanks for your solution! It solved the problems I had with RSSOwl.

  3. Azad says:

    Thank you so much I wested 1 week with this problem, I’m using MyEclipse. I even contacted them without way out.

    Thanks a gain

  4. Rajesh says:

    Hi,
    Even though I am a developer, and come across many such issues, I never maintain record of them.
    Just now I have realized how wrong I was. Your fix saved me lot of time. If I keep record of all issues I come across, it may be help full for others.

    Thanks for opening my eyes ;)

    Rajesh Akkineni

  5. Thomas says:

    I am glad that my little hint helped you out! In fact I had the trouble with “RSSowl” and not eclipse itself. (RSSowl is built with the eclipse rich client platform)
    But the fix indeed helps if you upgrade firefox and try to run eclipse, too. Thanks for the credit :)
    I should really start blogging in english…

  6. Anonymous says:

    Actually I ran into the same problem, and I found this site to be most helpful. If you search for this question “What do I need to run the SWT Browser inside Eclipse on Linux/GTK or Linux/Motif?” It describes the requirement for SWT and Browser to work properly on Linux

  7. Anonymous says:

    Even though Eclipse itself was still working, I was getting the same error when trying to use the CheckStyle plugin.
    Problem seems to be solved now. At least, the error has gone away.

  8. Lucas says:

    It worked for EPF 1.2.0.4 (Eclipse Process Framework) too, on Ubuntu 8.04 . Very, very thanks!!!

  9. Racumin says:

    My CheckStyle plugin in Eclipse also have those errors but were now solved. Thanks again for this post!

  10. Marc says:

    Thx mate, it took me several hours since i came across this problem…
    i have an RCP application, using ubuntu, eclipse 3.3, and found this problem trying to open an swt browser within my app.

    your solution solved my problem.

    THX!!!

  11. Varun Mehta says:

    Helped me with ubuntu 9.10 and FF 3.5 for uDig.

Leave A Comment