title: Critical Error Occurs when Booting Up R ...."jvm.dll" is missing! Can't use libraries any more
body: <p>I have a critical problem which has effectively halted my <strong>R</strong> programming environment. I need the Java integration and rJava library  as I use the <strong>R</strong> program in many other packages, and they specify this library as a prerequisite ( Rapidminer, SAP Predictive analytics etc). It used to work, I don't know what happened!. Please assist.</p>
  
  <ol>
  <li><p>When I boot up <strong>R</strong> it comes up with:</p>
  
  <p><img src="https://i.stack.imgur.com/6EaBx.png" alt="Message on R bootup">. The message says " its Header is: rsession.exe- System error  , the body says:</p>
  
  <blockquote>
    <p>"the program can't start because jvm.dll is missing from your computer. Try re-installing the program to fix this problem".   </p>
  </blockquote>
  
  <p>What program (referred to in the message)  must I re-install  and where must I install it to?</p></li>
  <li><p>I have installed and reinstalled r ( version3.2.1)[2] ..see second image ( I am using R studio ( Version 0.99893)) </p>
  
  <p>![enter image description here][2]</p></li>
  <li><p>I also deleted and re-installed the java library rJava , and it installs  but wont load i.e. <strong>library(rJava)..results in the same error message as in <a href="https://i.stack.imgur.com/6EaBx.png" rel="nofollow noreferrer">1</a></strong> above and when I press OK to continue the console brings up the following text :</p></li>
  </ol>
  
  <p>ERROR MESSAGE IN R CONSOLE WHEN USING "library(rJava)"</p>
  
  <pre><code>"library("rJava", lib.loc="~/R/win-library/3.2")
   Error : .onLoad failed in loadNamespace() for 'rJava', details:
   call: inDL(x, as.logical(local), as.logical(now), ...)
   error: unable to load shared object 'C:/Users/grbortz/
   Documents/R/win-library/3.2/rJava/libs/x64/rJava.dll':
    LoadLibrary failure:  The specified module could not be found.
  </code></pre>
  
  <p>In addition: Warning message:</p>
  
  <blockquote>
    <p>package ‘rJava’ was built under R version 3.2.5<br>
    Error: package or namespace load failed for ‘rJava’</p>
  </blockquote>
  
  <p>However when I Look in my directory as it mentioned above i.e.
  the  rJava.dll path mentioned above, i.e.
  <code>~  " Users\  grbortz\ Documents /R/ winlibrary /3.2/rJava/libs / x64 / rJava.dll</code></p>
  
  <p>The rJava.dll file is there!</p>
  
  <p>Please help. If any more actons are needed from my side  I am happy to oblige.</p>