{"id":1764,"date":"2022-08-30T15:19:15","date_gmt":"2022-08-30T15:19:15","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/12\/02\/using-webkit-for-swt-browser-occurs-error-on-x64-os-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:19:15","modified_gmt":"2022-08-30T15:19:15","slug":"using-webkit-for-swt-browser-occurs-error-on-x64-os-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/using-webkit-for-swt-browser-occurs-error-on-x64-os-collection-of-common-programming-errors\/","title":{"rendered":"Using WebKit for SWT Browser occurs error on x64 OS-Collection of common programming errors"},"content":{"rendered":"<p>My question is a bit like unexplored&#8217;s.<\/p>\n<p>My enviroment:<\/p>\n<ul>\n<li>OS: windows server 2008 r2 (x64)<\/li>\n<li>Safari installed 5.1.7<\/li>\n<li>32 bit SWT (eclipse SDK 3.7.2 * 32)<\/li>\n<li>32 bit jvm (32)<\/li>\n<li>Add <code>-Dorg.eclipse.swt.browser.DefaultType=webkit<\/code> in <code>eclipse.ini<\/code><\/li>\n<li>Add <code>C:\\Program Files(x86)\\Safari\\Apple Application Support<\/code> in windows PATH<\/li>\n<\/ul>\n<p>Code like this:<\/p>\n<pre><code>\/\/create Mozilla browser\nbrowser = new Browser(parent, SWT.WEBKIT);  \/\/error was caused here.\n<\/code><\/pre>\n<p>Error message:<\/p>\n<pre><code>Unhandled event loop exception\nNo more handles [Safari must be installed to use a SWT.WEBKIT-style Browser]\n<\/code><\/pre>\n<p>With the same configuration,when my os is win7 &#8211; 32bit,it works well.<\/p>\n<p>Anybody know why,or tell me how to find the cause?<\/p>\n<p>Thanks very much<\/p>\n<p id=\"rop\"><small>Originally posted 2013-12-02 01:20:22. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>My question is a bit like unexplored&#8217;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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1764","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1764","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1764"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1764\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}