SWT Browser not working?

前端 未结 1 1129
一个人的身影
一个人的身影 2021-01-19 05:09

I\'m having a little trouble with the SWT Browser component. I am running Ubuntu 11.04 AMD64 and Eclipse 3.7, with Java SE 1.6 from Sun

My problem is that my browser

相关标签:
1条回答
  • 2021-01-19 05:27

    According to SWT FAQ you may have unsupported XULRunner2 (try older versions). You should also check if you have installed WebKitGTK+ 1.2.x for WebKit browser core.

    EDIT

    Edited based on your comments. Accordingly to this FAQ you should have WebKitGTK 1.2.0 or newer in the library load path, so check if you have.. And create browser with SWT.NONE..

    The error message you get from SWT said so you don't have the library on the path you should java.lang.UnsatisfiedLinkError: no swt-mozilla-gtk-3346 or swt-mozilla-gtk in swt.library.path, java.library.path or the jar file

    0 讨论(0)
提交回复
热议问题