title: R and Java - rJava error on Windows 8.1
body: <p>I am trying to make a <code>con</code> using <code>rjdbc</code> and <code>rJava</code> packages and i am getting this error:</p>
  
  <pre><code>C:\Users\user\dir&gt;Rscript rjdbc.r
  Loading required package: methods
  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/user/Documents/R/win-library/3.0/rJava/libs/i386/rJava.dll':
    LoadLibrary failure:  The specified module could not be found.
  
  Error: package or namespace load failed for 'rJava'
  </code></pre>
  
  <p>Additionally i get this pop-up error window</p>
  
  <p><code>This program can't start because jvm.dll is missing from your computer</code></p>
  
  <p>I am using java</p>
  
  <pre><code>java version "1.8.0_05"
  Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
  Java HotSpot(TM) Client VM (build 25.5-b02, mixed mode)
  </code></pre>
  
  <p>R version is</p>
  
  <pre><code>R version 3.0.3 (2014-03-06) -- "Warm Puppy"
  Copyright (C) 2014 The R Foundation for Statistical Computing
  Platform: i386-w64-mingw32/i386 (32-bit)
  </code></pre>
  
  <p>and my <code>env variables</code> on <code>Windows 8.1 Pro - 64-bit OS</code> are currently</p>
  
  <pre><code>JAVA_HOME = C:\Program Files (x86)\Java\jre8
  path = C:\Program Files (x86)\Java\jre8\bin;C:\Program Files (x86)\Java\jdk1.8.0_05\jre\bin\server
  </code></pre>
  
  <p>I have read tons of similar questions but still no success. Thanks for any suggestions</p>