title: JNI native : java.lang.UnsatisfiedLinkError: no HelloWorld in java.library.path
body: <p>I follow tutorial to construct my first JNI program.
  My program is so simple..</p>
  
  <pre><code>package JNI;
  public class HelloWorld {
  
      private native void print();
  
      public static void main(String[] args) {
          new HelloWorld().print();
      }
  
      static {
  
          System.loadLibrary("HelloWorld");
  
      }
  }
  </code></pre>
  
  <p>And I also build c++ native library(.so file), and put it on the same directory</p>
  
  <p>And use</p>
  
  <pre><code>java -Djava.library.path=. JNI.HelloWorld
  </code></pre>
  
  <p>(native library and helloworld.class are in the same location)</p>
  
  <p>All thing seem look correctly. But error never give up entangling me..</p>
  
  <p>Could you help me?</p>