简体   繁体   English

SWT x64与xulrunner 3.6.28 x86

[英]SWT x64 with xulrunner 3.6.28 x86

is there any way to run xulrunner 3.6.28 (x86 there is no other) with swt x64? 有没有办法用swt x64运行xulrunner 3.6.28(x86没有其他)?

I cant use the newer xulrunner 10.4esr becouse i have some issues with it. 我不能使用更新的xulrunner 10.4esr因为我有一些问题。 The old one runs like a charm, but there is no x64 of it. 旧的运行就像一个魅力,但它没有x64。

If i try loading 3.6.28 i get some weird errors: 如果我尝试加载3.6.28我会得到一些奇怪的错误:

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)
    at GUI.TFSBrowser$1.run(TFSBrowser.java:54)

Any suggestions? 有什么建议?

Kind regards David 亲切的问候大卫

尝试使用swtx86.jar编译项目SWT并在安装时嵌入JRE 32位,它适用于64位和32位arch。

I realize that this question is old, but hopefully this will help someone else who stumbles across it. 我意识到这个问题已经过时了,但希望这会帮助那些偶然发现它的人。

With 64-bit 4.3 SWT I was able to fix this exception by using XULRunner version 1.9.2.25 runtimes. 使用64位4.3 SWT,我能够通过使用XULRunner版本1.9.2.25运行时来修复此异常。 This may not be the exact solution you are (or were) looking for since it seems you were using later XULRunner versions, however the common denominator seems to be the 64-bit libraries being used. 这可能不是您(或正在)寻找的确切解决方案,因为您似乎使用的是以后的XULRunner版本,但是共同的分母似乎是使用的64位库。

Originally I found the download from here: https://osdn.net/projects/sfnet_runawfe/downloads/SRC%20and%20BIN%20files/extras/xulrunner-1.9.2.25-win64.zip/ 最初我从这里找到了下载: https//osdn.net/projects/sfnet_runawfe/downloads/SRC%20and%20BIN%20files/extras/xulrunner-1.9.2.25-win64.zip/

However, I have also re-hosted it as xulrunner-1.9.2.25.en-US.win64.zip . 但是,我还将其重新托管为xulrunner-1.9.2.25.en-US.win64.zip

Full explanation posted in my answer here: https://stackoverflow.com/a/44848877/3300205 我在这里的答案中写了完整的解释: https//stackoverflow.com/a/44848877/3300205

Related post: Creating a SWT.MOZILLA browser on Windows 64 bit and SWT 4.3 相关文章: 在Windows 64位和SWT 4.3上创建SWT.MOZILLA浏览器

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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