I am trying to install rJava on windows.
I have looked this thread: previous thread and set the PATH variable but it still doesn't work. I notice that it catches with the error message:
** testing if installed package can be loaded
*** arch - i386
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/xxxx/Documents/R/Portable/R-Portable/App/R-Portable/library/rJava/libs/i386/rJava.dll':
LoadLibrary failure: %1 is not a valid Win32 application.
the java I have installed is jre and jdk 1.8.0_20 is that a problem?