I am developing an RCP application (Windows) using SWT.Browser (SWT.MOZILLA):
Browser browser = new Browser(parent, SWT.MOZILLA);
It works great with old XULRunner 3.6.23, and the setup described here is :
xulrunner.exe --register-global
I want to use the new XULRunner 8.x, but as mentioned here , the old XULRunner installation method has been removed.
So, programmatically, I added the XULRunner-Path:
System.setProperty("org.eclipse.swt.browser.XULRunnerPath", "Path\\To\\xulrunner_8.x");
But when I run the application, I will get the following error
org.eclipse.swt.SWTError: XPCOM error -2147467261
So, what is the preferred way to insert XULRunner 8.x with an RCP application and avoid this error?
TimPietrusky
source share