且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何安装XULRunner for Eclipse

更新时间:2023-01-08 19:15:37

SWT不支持最新XULRunner。

请参阅错误327696 - [浏览器]实现对xulrunner> = 4.0的支持

SWT is not supporting 'latest' XULRunner.
See Bug 327696 – [Browser] implement support for xulrunner >= 4.0

另请参见SWT常见问题, 问:如何指定浏览器使用的本机渲染器的默认类型? a>或问:我如何显式地使用Mozilla作为浏览器的底层渲染器?例如,

See also The SWT FAQ, Q: How do I specify the default type of native renderer that is used by the Browser? or Q: How do I explicitly use Mozilla as the Browser's underlying renderer? or so.



For example,


  1. 下载最新的可用eclipse从
    http:// ftp .mozilla.org /酒吧/ mozilla.org / XULRunner的/重租赁/ 10.0.4esr / sdk /

  2. 将其解压缩到C:\

  3. 编辑您的应用程序的运行配置 - >参数 - > VM参数,添加以下参数。
    -Dorg.eclipse.swt.browser.XULRunnerPath = C:\xulrunner