I am trying to make a con
using rjdbc
and rJava
packages and i am getting this error:
C:\Users\user\dir>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'
Additionally i get this pop-up error window
This program can't start because jvm.dll is missing from your computer
I am using java
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)
R version is
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)
and my env variables
on Windows 8.1 Pro - 64-bit OS
are currently
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
I have read tons of similar questions but still no success. Thanks for any suggestions