title: Exception in thread "main" java.lang.UnsatisfiedLinkError: no GurobiJni56 in java.library.path
body: <p>First of all, I am new to Java programming and please excuse me for any wrong use of terms or for overseeing obvious mistakes. I am using OS X Yosemite on a MacBook Pro, and are coding Java in Eclipse.</p>
  
  <p>I encounter the exception given in the title when I'm trying to run my program. Here, Gurobi is a solver for optimization problems and is downloaded from <a href="http://www.gurobi.com/" rel="nofollow">http://www.gurobi.com/</a>. The weird thing is that my program was working the other day, but then it suddenly ceased to work. Any regular programs that does not use anything from the <code>gurobi.*;</code> package runs just fine. Importing <code>gurobi.*;</code> also works fine in my test program, so it exists. </p>
  
  <p>Googling the error tells me there's something wrong with the path for finding the Gurobi library. Has anyone encountered the same problem and is familiar with a solution? As I said, I am new to Java and have no clue how to set up the preferences right. Also, the Gurobi FAQ (<a href="http://www.gurobi.com/resources/faqs" rel="nofollow">http://www.gurobi.com/resources/faqs</a>) says there is no need to do any special configuration with the default installation of Gurobi Optimizer in order to use Gurobi in an Eclipse Java project on OS X.</p>
  
  <p>If anyone know how to adjust these things on OS X and also may have used the Gurobi software for Eclipse Java on OS X, it would have been very helpful!</p>
  
  <p>Here's the whole console message I encounter when running the program:</p>
  
  <pre><code>Exception in thread "main" java.lang.UnsatisfiedLinkError: no GurobiJni56 in java.library.path
      at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1764)
      at java.lang.Runtime.loadLibrary0(Runtime.java:823)
      at java.lang.System.loadLibrary(System.java:1044)
      at gurobi.GurobiJni.&lt;clinit&gt;(GurobiJni.java:193)
      at gurobi.GRBEnv.&lt;init&gt;(GRBEnv.java:16)
      at gurobi.GRBEnv.&lt;init&gt;(GRBEnv.java:11)
      at Model.main(Model.java:426)
  </code></pre>
  
  <p>Thank you in advance! Let me know if the information I have provided is not sufficient to answer my issue.</p>
  
  <p>Henrik</p>