[R] R and Newest version of Java

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Oct 28 19:43:03 CET 2014


On 28/10/2014 16:47, Antonio Paredes wrote:
> Hell All,
>
> Last night I updated Java to it newest version and this morning when I got
> to my office some of the R packages, that I am using in a current project,
> are not loading at all. For example
>
> Loading required package: XLConnectJars
> Error : .onLoad failed in loadNamespace() for 'rJava', details:
>    call: fun(libname, pkgname)
>    error: No CurrentVersion entry in Software/JavaSoft registry! Try
> re-installing Java and make sure R and Java have matching architectures.
> Error: package ‘XLConnectJars’ could not be loaded
>
> I did re-installed Java but the issue continues. Are there any known issues
> associated with how R is interacting with the latest version of Java?

Whatever that version is and whatever platform this is (for the latter, 
see the posting guide)!

If you mean Oracle Java, I use the current 8u25 on several platforms.

At a guess this is Windows and you installed 32-bit Java for use with 
64-bit R or v.v.: the architectures have to match ....

>
> Thank you very much.
>


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford
1 South Parks Road, Oxford OX1 3TG, UK



More information about the R-help mailing list