title: Can't find libjvm.so
body: <p>I have a program that uses voce.h which in turn uses jvm.</p>
  
  <p>I have included all the necessary java files and have linked to the libjvm.so so I now doesn't get the compiler errors however when I run the program I get the error message:</p>
  
  <pre><code>error while loading shared libraries: libjvm.so: cannot open shared object file: No such file or directory
  </code></pre>
  
  <p>I have tried the part with export LD_LIBRARY_PATH without success.</p>
  
  <pre><code>The link to libjvm.so
  /usr/java/jre1.8.0_65/lib/amd64/server/libjvm.so
  The path to include files
  /usr/java/jdk1.8.0_65/include
  /usr/java/jdk1.8.0_65/include/linux
  </code></pre>
  
  <p>I use code::blocks as IDE. </p>