I updated my Java version and deleted the older versions of Java. Now my XLConnect package will not load in R because XLConnectJars won't load. Here is the error message.
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
Is the only solution to reinstall an older version of Java?
Try to define the path
Change it appropriately
What works for me in Windows 7 is:
after downloading the latest 64-bit Java version 8 from