简体   繁体   中英

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

That is quite easy. There were two problems:

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM