title: SWT Browser not working?
body: <p>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</p>
  
  <p>My problem is that my browser won't initialize. When I make it with the SWT.NONE flag, I get errors</p>
  
  <pre><code>Exception in thread "main" org.eclipse.swt.SWTError: No more handles (java.lang.UnsatisfiedLinkError: no swt-mozilla-gtk-3346 or swt-mozilla-gtk in swt.library.path, java.library.path or the jar file)
  at org.eclipse.swt.SWT.error(SWT.java:3589)
  at org.eclipse.swt.SWT.error(SWT.java:3481)
  at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:324)
  at org.eclipse.swt.browser.Browser.&lt;init&gt;(Browser.java:109)
  at browser.Main.createGUI(Main.java:40)
  at browser.Main.main(Main.java:21)
  
  Caused by: java.lang.UnsatisfiedLinkError: no swt-mozilla-gtk-3346 or swt-mozilla-gtk in swt.library.path, java.library.path or the jar file
  at org.eclipse.swt.internal.Library.loadLibrary(Library.java:219)
  at org.eclipse.swt.internal.Library.loadLibrary(Library.java:151)
  at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:309)
  ... 3 more
  </code></pre>
  
  <p>And then when I try to use the SWT.MOZILLA flag, I get</p>
  
  <pre><code>Exception in thread "main" org.eclipse.swt.SWTError: No more handles [Could not detect registered XULRunner to use]
  at org.eclipse.swt.SWT.error(SWT.java:3589)
  at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:280)
  at org.eclipse.swt.browser.Browser.&lt;init&gt;(Browser.java:109)
  at browser.Main.createGUI(Main.java:40)
  at browser.Main.main(Main.java:21)
  </code></pre>
  
  <p>I suspect this is partly because I am using XULRunner2, but I would prefer to use WebKit, which in Eclipse 3.7 (that's why I upgraded), should be default when using SWT.NONE.</p>
  
  <p>If any of you have run into this problem and/or have solved it before, I would appreciate it if you could help me.</p>
  
  <p>Thanks!</p>