title: Eclipse Java JNI, LoadLibrary linking error
body: <p>This my second time coding Java and never referencing any external library before.  I follow the JNI examples online and I get UnsatisfiedLinkError when trying to load the dll.  I thought that I have to create DLL first before trying to load, but all the examples I've looked they don't mention about creating DLL.  Most of them stating that I should create Java code first then native code.</p>
  
  <pre><code>public class ClassSample1 
  {
   public native void displayHelloWorld();
  
   static
   {
    System.loadLibrary("MyLittleJNI");
  
   } 
  
  
   public static void main(String[] args) 
   {
    // TODO Auto-generated method stub
    ClassSample1 classSample1;
    classSample1 = new ClassSample1();
    classSample1.displayHelloWorld();
  
    System.out.println("Hello");
   }
  
  }
  </code></pre>
  
  <p>How can I get ride of the error?</p>