Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7698183
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:10:58+00:00 2026-05-31T22:10:58+00:00

On my Arch Linux, Eclipse with Google Window Builder/SWT application, I am getting Exception

  • 0

On my Arch Linux, Eclipse with Google Window Builder/SWT application, I am getting

Exception in thread "main" org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
    at org.eclipse.swt.SWT.error(SWT.java:4308)
    at org.eclipse.swt.browser.Mozilla.initMozilla(Mozilla.java:1826)
    at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:687)
    at org.eclipse.swt.browser.Browser.<init>(Browser.java:99)
    at octopus.EventSummaryComposite.<init>(EventSummaryComposite.java:33)
    at octopus.EventEditingComposite.<init>(EventEditingComposite.java:45)
    at octopus.EventManagementController.<init>(EventManagementController.java:31)
    at octopus.MainController.<init>(MainController.java:38)
    at octopus.MainController.main(MainController.java:85)

I believe I need to install XULrunner or something. But when I install xulrunner in Arch, I get xulrunner and eclipse are in conflict. So I tried installing pywebkitgtk. Then I added -Dorg.eclipse.swt.browser.DefaultType=webkit to /usr/bin/eclipse and /usr/share/eclipse/eclipse.ini not sure which is used. But when I run, I still get the same error. It appears webkit is still not used. How can I fix this?

UPDATE 2

So far I tried installing libwebkit3. Then added -Dorg.eclipse.swt.browser.UseWebKitGTK=true to /usr/share/eclipse/eclipse.ini, I get the same error.

Then I also tried downloading and extracting xulrunner from mozilla to ~/xulrunner and adding -Dorg.eclipse.swt.browser.XULRunnerPath=/home/jiewmeng/xulrunner/ to config, still same error…

In Ubuntu just now, I just installed xulrunner and it worked… I wonder if the config is even used?

Arch Linux Question

UPDATE (Environment & Versions)

  • Arch Linux
  • GNOME 3
  • Eclipse 3.7.2
  • SWT 1.3.0/3.7.2 (http://dl.google.com/eclipse/inst/d2wbpro/latest/3.7)
  • XULRunner 1.9.2.19 (http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/1.9.2.19/)
  • Firefox 11 (from pacman)

Let me know if you need other relavent info

UPDATE (Old)

If I change my code to

new Browser(this, SWT.WEBKIT)

I get

Exception in thread "main" org.eclipse.swt.SWTError: No more handles
    at org.eclipse.swt.SWT.error(SWT.java:4308)
    at org.eclipse.swt.SWT.error(SWT.java:4197)
    at org.eclipse.swt.SWT.error(SWT.java:4168)
    at org.eclipse.swt.browser.Browser.<init>(Browser.java:103)
    at octopus.EventSummaryComposite.<init>(EventSummaryComposite.java:33)
    at octopus.EventEditingComposite.<init>(EventEditingComposite.java:45)
    at octopus.EventManagementController.<init>(EventManagementController.java:31)
    at octopus.MainController.<init>(MainController.java:38)
    at octopus.MainController.main(MainController.java:85)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T22:10:59+00:00Added an answer on May 31, 2026 at 10:10 pm

    The apparent problem, in accordance with the edited question and all of the errata, appears to be a version conflict between your running version of Eclipse and the versions of both Mozilla or WebKit installed on your system. This is further conflated by extremely terse documentation and dependency hell.

    The key is to check your running Eclipse version and compare it to the versions of xulrunner and libwebkit installed on your system, exactly as recommended in the answer and errata here and documented in the FAQ here. However, based on the difficulties you’ve had and the sparse documentation on this problem, you’ll want to take special precautions to ensure that all of your dependencies are satisfied for the strictly correct versions.

    Given your diagnosis that xulrunner and eclipse are in conflict, I did some digging to find the correct resolution to this problem. It turns out this is covered in extensive detail in this thread. The salient information you need to be concerned about:

    • Eclipse 3.5.2-3.6.x are incompatible with xulrunner 2.0. If this is an older system, use xulrunner 1.9.2-15-2 to solve the problem.

    • The version of Eclipse you are using very likely does not support libwebkit3. As mentioned, it is exceedingly likely that you will need to use an earlier version.

    • In all cases, building a version of Firefox with the correct Gecko bindings should resolve the issue and, as point of fact, reproduces this bug when those bindings are not present:

    Also note that a Firefox release whose contained Gecko version
    correlates with the Mozilla versions above can also be used with
    Eclipse 3.1 and newer (Linux only), provided that it has been compiled
    with linkable Gecko libraries. It is important to note that Firefox
    downloads from mozilla.org do not satisfy this criteria, but Firefox
    installations that are included in major Linux distributions often do
    in the absence of a XULRunner installation. Attempting to use a
    Firefox install without linkable Gecko libraries will throw an error
    with message “No more handles [NS_InitEmbedding…error -2147221164]”.

    In short: the problem is with Arch Linux’s packaging of the dependencies for Eclipse SWT. But, this is a year-old issue that indicates your Eclipse version and the rest of your system is in desperate need of a software upgrade… 🙂


    Edit: To get Google WindowBuilder Pro‘s copy of SWT’s browser widgets working in Arch Linux, I created a VM and stepped through this process with the OP. I was able to reproduce the bug in both the 32- and 64-bit versions of Arch Linux.

    It turns out Arch Linux’s bindings for libwebkit were insufficient, so I went ahead and built xulrunner-1.9.2.19 from source. After a whole lot of necessary fixups, my make install version just works with Eclipse.

    The next step, for anyone willing, is to report this to Arch Linux.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing a small application with Qt 4.6 (64-bit Arch Linux, though that
I am using Arch linux and I need to create virtual serial port on
I can't init lua correctly under Arch Linux. Lua - latest version. Here is
I am using embedded-linux for device which has Arch ARMv5 Speed 266MHZ, vfpu and
Alright, here is the output I get: arm-none-linux-gnueabi-ld --entry=main -dynamic-linker=/system/bin/linker -rpath-link=/home/oem/android-ndk-r3/build/platforms/android-5/arch-arm/usr/lib -L/home/oem/android-ndk-r3/build/platforms/android-5/arch-arm/usr/lib -nostdlib -lstdc++
I want to install VMware tools on Arch Linux, but when I click to
Recently I've migrated to Arch Linux, after ~4 years being loyal to Ubuntu. Everything
I am using following versions of Ruby and Rails on arch linux [hardik@sunshine: kandibank
everyone. I used openjdk-7 on arch linux. I started to learn Java recently, and
I'm trying to install the google plugin for eclipse but the installer keeps telling

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.