Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT Browser in Linux with XULRunner 10.x
SWT Browser in Linux with XULRunner 10.x [message #1628981] Sun, 22 February 2015 11:48 Go to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
Hi Team,

I'm trying to run a small SWT application that contains only SWT Browser
in it.

I specifically want to run it with XULRunner and the FAQ in
https://www.eclipse.org/swt/faq.php#browserlinux says that I should be
able to use XULRunner 1.9.x, 3.6.x and 10.x

I've run it successfully with 1.9.x & 3.6.x but always with 10.x with
the following exception:

org.eclipse.swt.SWTError: XPCOM error 0x80004005
at org.eclipse.swt.browser.Mozilla.error(Unknown Source)
at org.eclipse.swt.browser.Mozilla.initXULRunner(Unknown Source)
at org.eclipse.swt.browser.Mozilla.create(Unknown Source)
at org.eclipse.swt.browser.Browser.<init>(Unknown Source)

Below is my environment:
1. Eclipse : 3.8.0.
2. Linux Mint : 14 (Nadia) 64bit.
3. SWT : 4.335.
4. SWT.Mozilla style used.
5. XULRunner : xulrunner-10.0.4esr.en-US.linux-i686.tar.bz2

Any help would be greatly appreciated.

Thanks & Regards,
Setya
Re: SWT Browser in Linux with XULRunner 10.x [message #1639464 is a reply to message #1628981] Fri, 27 February 2015 16:59 Go to previous messageGo to next message
Alex Kravets is currently offline Alex KravetsFriend
Messages: 553
Registered: November 2009
Senior Member
Have you tried adding
-Dorg.eclipse.swt.browser.XULRunnerPath=/path/to/xulRunner

Into your launch configuration?

More details here
Re: SWT Browser in Linux with XULRunner 10.x [message #1641058 is a reply to message #1639464] Sat, 28 February 2015 11:21 Go to previous messageGo to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
Hi Alex,

Appreciate your response.

Yes I have added the path.

FYI, this happens only on Linux, I tried the same in Win and worked.

Thanks & Regards,
Setya

On 02/27/2015 11:59 PM, Alex Kravets wrote:
> Have you tried adding
> -Dorg.eclipse.swt.browser.XULRunnerPath=/path/to/xulRunner
>
> Into your launch configuration?
>
> http://stackoverflow.com/questions/17994805/how-to-install-xulrunner-for-eclipse
>
Re: SWT Browser in Linux with XULRunner 10.x [message #1645574 is a reply to message #1641058] Mon, 02 March 2015 15:31 Go to previous message
Alex Kravets is currently offline Alex KravetsFriend
Messages: 553
Registered: November 2009
Senior Member
Perhaps this might helpful then.

Setya Mising name wrote on Sat, 28 February 2015 06:21
Hi Alex,

Appreciate your response.

Yes I have added the path.

FYI, this happens only on Linux, I tried the same in Win and worked.

Thanks & Regards,
Setya

On 02/27/2015 11:59 PM, Alex Kravets wrote:
> Have you tried adding
> -Dorg.eclipse.swt.browser.XULRunnerPath=/path/to/xulRunner
>
> Into your launch configuration?
>
> http://stackoverflow.com/questions/17994805/how-to-install-xulrunner-for-eclipse
>

Previous Topic:Download PDF file
Next Topic:Embed SWT Composite into Windows C# application
Goto Forum:
  


Current Time: Sat Jan 23 05:21:47 GMT 2021

Powered by FUDForum. Page generated in 0.02200 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top