Is it possible to use the 64bit XulRunner for Windows (available from here) with the Eclipse browser widget? It works fine under 32bit Windows and the answer to this question explains how this works. But when I try this under 64bit Windows I get the following exception:
org.eclipse.swt.SWTError: No more handles (java.lang.UnsatisfiedLinkError: Could not
load SWT library. Reasons:
no swt-xulrunner-win32-3834 in java.library.path
no swt-xulrunner-win32 in java.library.path
Can't load library:
C:\Users\...\.swt\lib\win32\x86_64\swt-xulrunner-win32- 3834.dll
Can't load library: C:\Users\...\.swt\lib\win32\x86_64\swt-xulrunner-win32.dll
at org.eclipse.swt.SWT.error(SWT.java:4387)
at org.eclipse.swt.SWT.error(SWT.java:4276)
at org.eclipse.swt.browser.Mozilla.initXULRunner(Mozilla.java:2594)
at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:684)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:99)
at org.openlca.ui.BrowserFactory.createMozilla(BrowserFactory.java:52)
Thanks for help, Michael
Edit: I found it in the Eclipse bug-tracker (link here):
swt's 64-bit Windows port does not have xulrunner support because mozilla.org does not provide a 64-bit xulrunner on Windows
But as the last comment on this bug says, there is a 64bit XulRunner available
Yes, XULRunner support on Windows x86_64 is now in place for the upcoming Eclipse/SWT 4.3 release.
Regarding the XPCOM error 0x80004005, if you're trying to use XULRunner 3.6.x (like the poster in the other question) then support for this was released even more recently, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=406912 .