title: UnsatisfiedLinkError, but library is in path
body: <p>I'm a little confused by this error. I'm new to Java and the error seems pretty self explanatory, but I've checked my paths (even defined my own) and it still fails to find this library. Is there something I'm doing wrong? See directory screenshot and error screenshot below:</p>
  
  <p><img src="https://i.imgur.com/XlBhaWb.jpg" alt="compiler error">
  <img src="https://i.imgur.com/cgAIwNL.jpg" alt="directory"></p>
  
  <p><strong>UPDATE</strong></p>
  
  <p><img src="https://i.imgur.com/yseTHve.jpg" alt="new error"></p>
  
  <p><strong>UPDATE 2</strong></p>
  
  <p>If I create a new NetBeans project this works fine. Same code and everything. If I create new IntelliJ project I get this error above. I must be missing something in IntelliJ</p>
  
  <p><strong>UPDATE 3</strong></p>
  
  <p>Found the solution. Adding dependencies is a bit different in IntelliJ. Thanks all for the help.</p>
  
  <p><a href="http://www.jetbrains.com/idea/webhelp/configuring-module-dependencies-and-libraries.html" rel="nofollow noreferrer">http://www.jetbrains.com/idea/webhelp/configuring-module-dependencies-and-libraries.html</a></p>