title: Unable to load native library: Can't find dependent libraries
body: <p>I have a simple <a href="http://lwjgl.org" rel="nofollow">LWJGL</a> java application. And if I try calling it using: </p>
  
  <pre><code>java -jar=LWJGL_Fullscreen.jar -Djava.library.path="M:\Java\SE\LWJGL_Fullscreen\final\lib\native\windows\"
  </code></pre>
  
  <p>i get the following error message:</p>
  
  <pre><code>Error occurred during initialization of VM
  Unable to load native library: Can't find dependent libraries
  </code></pre>
  
  <p>but the path set using <code>-Djava.library.path</code> is correct. If i am using Netbeans and hit the run button the application starts and runs as expected.</p>
  
  <p>how can i start this program from console?</p>
  
  <p><strong>UDAPTE</strong></p>
  
  <p>As suggested by david i have also tryed:</p>
  
  <pre><code>java -Djava.library.path="M:\Java\SE\LWJGL_Fullscreen\final\lib\native\windows\" -jar=LWJGL_Fullscreen.jar
  java -Djava.library.path="M:\Java\SE\LWJGL_Fullscreen\final\lib\native\windows\" -jar LWJGL_Fullscreen.jar
  java -jar LWJGL_Fullscreen.jar -Djava.library.path="M:\Java\SE\LWJGL_Fullscreen\final\lib\native\windows\" 
  </code></pre>
  
  <p>unfortunately these didn't work either. I got the same output as before.</p>