title: How to set the java.library.path in intelliJ Idea
body: <p>Could anyone please help how do I solve this error:</p>
  
  <pre><code>Native code library failed to load.
  java.lang.UnsatisfiedLinkError: no ts-jni in java.library.path
  </code></pre>
  
  <p>I am using IDEA IDE as a first time, and have been using Resin_4.0.37 as a server to test my work. 
  As soon as I start my lcoal server in debug mode it stays for approximately 1-2 mins and then suddenly it drops down and get disconnected by giving me the above error.</p>
  
  <p>I have set my Windows environmental variable correctly; and have also did the following in my IDE intelliJ:</p>
  
  <pre><code> FILE-&gt;Project Structure-&gt;set Global Libraries-&gt;a. Java path and b. Resin library path.
  </code></pre>
  
  <p>Can any one please suggest me, what am I doing wrong and how do I set native library in intelliJ IDEA to solve the mentioned error.</p>
  
  <p>Any help would be appreciated. Also do correct me if I am doing something wrong.</p>
  
  <p>Thanks!</p>