title: android java.lang.UnsatisfiedLinkError
body: <p>Background: </p>
  
  <p>I'm running Ubuntu 14.04 in a VirtualBox VM and I am trying to set up some dependencies in order to start playing around with the PhoneGap framework. Namely Java SE and Android SDK. First, I installed the Android SDK by following this tutorial: <a href="http://dasunhegoda.com/installrun-phonegap-ubuntu/797/" rel="nofollow">http://dasunhegoda.com/installrun-phonegap-ubuntu/797/</a> (at step 5). 
  Then, I realized I didn't have Java SE so I followed this tutorial: <a href="http://www.wikihow.com/Install-Oracle-Java-JDK-on-Ubuntu-Linux" rel="nofollow">http://www.wikihow.com/Install-Oracle-Java-JDK-on-Ubuntu-Linux</a>. </p>
  
  <p>The Problem: </p>
  
  <p>After I installed the Android SDK, I could easily run the  command to open up the SDK manager. After installing the Java SE, I get the error : </p>
  
  <pre><code>Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3550 or swt-pi-gtk in swt.library.path, java.library.path or the jar file
  at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
  at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
  at org.eclipse.swt.internal.gtk.OS.&lt;clinit&gt;(Unknown Source)
  at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
  at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
  at org.eclipse.swt.widgets.Display.&lt;clinit&gt;(Unknown Source)
  at com.android.sdkmanager.Main.showSdkManagerWindow(Main.java:403)
  at com.android.sdkmanager.Main.doAction(Main.java:391)
  at com.android.sdkmanager.Main.run(Main.java:151)
  at com.android.sdkmanager.Main.main(Main.java:117)
  </code></pre>
  
  <p>I assume that this has something to do with the fact that I removed some version of OpenJDK in order to install Java, as per the tutorial. I've tried to search for this error, with all the fixes suggesting the command: </p>
  
  <pre><code>sudo mount -o remount,exec /tmp
  </code></pre>
  
  <p>After which I get an error saying: </p>
  
  <pre><code>mount: /tmp not mounted or bad option
  </code></pre>
  
  <p>Any ideas on how to resolve this? </p>