Using WebKit for SWT Browser occurs error on x64 OS-Collection of common programming errors

My question is a bit like unexplored’s.

My enviroment:

  • OS: windows server 2008 r2 (x64)
  • Safari installed 5.1.7
  • 32 bit SWT (eclipse SDK 3.7.2 * 32)
  • 32 bit jvm (32)
  • Add -Dorg.eclipse.swt.browser.DefaultType=webkit in eclipse.ini
  • Add C:\Program Files(x86)\Safari\Apple Application Support in windows PATH

Code like this:

//create Mozilla browser
browser = new Browser(parent, SWT.WEBKIT);  //error was caused here.

Error message:

Unhandled event loop exception
No more handles [Safari must be installed to use a SWT.WEBKIT-style Browser]

With the same configuration,when my os is win7 – 32bit,it works well.

Anybody know why,or tell me how to find the cause?

Thanks very much