title: How to set system wide environment variable for jvm.dll
body: <p>I have a C file which need to call jvm.dll. When I save the C file in the same folder as jvm.dll (<code>C:\Program Files\Java\jdk1.8.0_77\jre\bin\server</code>) it works perfectly fine. <br>
  But When I run the C program from any other location it doesn't work the same. way. <br>I used <code>set LOAD_LIBRARY_SEARCH = C:\Program Files\Java\jdk1.8.0_77\jre\bin\server</code> to call jvm.dll from current directory. 
  <br>But when I run the C program from any other location it produces jvm.dll is missing error. 
  Please suggest what is equivalent for <code>export LD_LIBRARY_PATH</code>. 
  Btw the same program works fine in Linux. </p>