title: java VLCJ tutorial java.lang.UnsatisfiedLinkError
body: <p>I'm trying to use VLCJ, and got stuck on their <a href="http://www.capricasoftware.co.uk/vlcj/tutorial1.php" rel="nofollow">first tutorial</a>.</p>
  
  <p>Here's my code:</p>
  
  <pre><code>package vlcj.tutorial1;
  
  import uk.co.caprica.vlcj.binding.LibVlc;
  import uk.co.caprica.vlcj.runtime.RuntimeUtil;
  
  import com.sun.jna.Native;
  import com.sun.jna.NativeLibrary;
  
  public class Tutorial1A
  {
      public static void main(String[] args)
      {
          // Ensure we're using the 32bit jdk.
          System.out.println("jdk version:  " + System.getProperty("sun.arch.data.model") + " bits.");
  
          NativeLibrary.addSearchPath(RuntimeUtil.getLibVlcLibraryName(), "C:/Program Files (x86)/VideoLAN/VLC/sdk/lib");
          Native.loadLibrary(RuntimeUtil.getLibVlcLibraryName(), LibVlc.class);
      }
  }
  </code></pre>
  
  <p>Here's the output and exception I get:</p>
  
  <pre><code>jdk version:  32 bits.
  Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'libvlc': The specified module could not be found.
  
  at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:169)
  at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:242)
  at com.sun.jna.Library$Handler.&lt;init&gt;(Library.java:140)
  at com.sun.jna.Native.loadLibrary(Native.java:368)
  at com.sun.jna.Native.loadLibrary(Native.java:353)
  at vlcj.tutorial1.Tutorial1A.main(Tutorial1A.java:17)
  </code></pre>
  
  <p>I made sure I'm using a 32 bit jdk and a 32 bit version of VLC.</p>
  
  <p>Any ideas?  Thanks in advance!</p>