title: How to solve this JNA issue?
body: <p>I have application which use JNA and gets the audio and video. It works in my Linux box. But when i am testing it in Windows. It just never working. Because i am still learning, i will appreciate your suggestion how to fix it, i already spent few days and weeks only to work it out, but just dont get this why JAVA does not work simply, its a cross platform. Why should it require again System path or etc configuration.</p>
  
  <p>I am totally lost now, why it works in Linux and it does not work in Windows XP ? How can i run it then ?</p>
  
  <pre><code>Inside the lib direcotry i have my JNA and Audio libraries.
  C:\Documents and Settings\test\Desktop\test&gt;dir
   Volume in drive C has no label.
   Volume Serial Number is 680F-0963
  
   Directory of C:\Documents and Settings\test\Desktop\test
  
  19/12/2010  22:09    &lt;DIR&gt;          .
  19/12/2010  22:09    &lt;DIR&gt;          ..
  19/12/2010  22:09            51.791 Audio.jar
  19/12/2010  22:09    &lt;DIR&gt;          lib
                 1 File(s)         51.791 bytes
                 3 Dir(s)     487.002.112 bytes free
  
  
  
  Now trying to run Audio.jar, gets Fail 1:
  
  C:\Documents and Settings\test\Desktop\test&gt;java -Djava.library.path=~/jni -jar
  Audio.jar
  Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load librar
  y gstreamer-0.10
          at org.gstreamer.lowlevel.GNative.loadWin32Library(GNative.java:83)
          at org.gstreamer.lowlevel.GNative.loadLibrary(GNative.java:43)
          at org.gstreamer.lowlevel.GstNative.load(GstNative.java:42)
          at org.gstreamer.lowlevel.GstNative.load(GstNative.java:39)
          at org.gstreamer.Gst.&lt;clinit&gt;(Gst.java:59)
          at video.MyVideo.simpletest(MyVideo.java:31)
          at sipphone.MainApplet.run(MainApplet.java:58)
          at sipphone.MainApplet.main(MainApplet.java:43)
  
  
  Fail 2:
  C:\Documents and Settings\test\Desktop\test&gt;java -Djna.library.path=. -jar Audio
  .jar
  Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load librar
  y gstreamer-0.10
          at org.gstreamer.lowlevel.GNative.loadWin32Library(GNative.java:83)
          at org.gstreamer.lowlevel.GNative.loadLibrary(GNative.java:43)
          at org.gstreamer.lowlevel.GstNative.load(GstNative.java:42)
          at org.gstreamer.lowlevel.GstNative.load(GstNative.java:39)
          at org.gstreamer.Gst.&lt;clinit&gt;(Gst.java:59)
          at video.MyVideo.simpletest(MyVideo.java:31)
          at sipphone.MainApplet.run(MainApplet.java:58)
          at sipphone.MainApplet.main(MainApplet.java:43)
  </code></pre>