michael nesterenko
michael nesterenko

Reputation: 14449

org.eclipse.swt.browser.XULRunnerPath does not affect used browser

Eclipse by default uses IE on windows, I need to use firefox, but I can not configure eclipse to do that.

I downloaded xulrunner from http://wiki.mozilla-x86-64.com/images/Xulrunner-31.0.en-US.win64-x86_64.zip, then set org.eclipse.swt.browser.XULRunnerPath in eclipse.ini:

-Dorg.eclipse.swt.browser.XULRunnerPath=d:\xul\xulrunner

But eclipse still using IE as internal browser. There are no errors in error log.

What is wrong?

I use java: 1.7.0_67 x86_64, eclipse: Luna Release (4.4.0) Build id: 20140612-0600

Upvotes: 1

Views: 2900

Answers (2)

michael nesterenko
michael nesterenko

Reputation: 14449

That is quite easy. There were two problems:

These steps are described in the faq: http://www.eclipse.org/swt/faq.php#howusemozilla

Upvotes: 3

greg-449
greg-449

Reputation: 111217

Setting 'org.eclipse.swt.browser.XULRunnerPath' just tells Eclipse where to find XULRunner, it does not tell Eclipse to use it.

Open Window > Preferences > General > Web Browser and choose the browser you want to use.

Upvotes: 2

Related Questions