Reputation: 1424
I tried today to use the WebKit as the Browser's underlying renderer for my eclipse plugin but no luck.
I followed the recommended instructions and my current environment is as follows:
added the following line to eclipse.ini
-Dorg.eclipse.swt.browser.DefaultType=webkit
Now when I try to instantiate the browser:
Browser b = new Browser(parent, SWT.WEBKIT);
b.setUrl("http://whatismybrowser.com");
I get the following error:
Failed to load the swt-webkit library
Any suggestions?
Thanks.
Upvotes: 3
Views: 7876
Reputation: 71
I got this problem too What you need to do use JVM : 32bit SWT :32 bit
set the safari.exe path in your environment settings , (If you are using older version of Windows)
Else if SWT and JVM are not of same 32 bit it will generate error .
Upvotes: 1