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.
Try to define the path
options(java.home="C:/Program Files/Java/jre7/")
Change it appropriately
What works for me in Windows 7 is:
options(java.home="C:\\Program Files\\Java\\jre1.8.0_45")
library(rJava)
after downloading the latest 64-bit Java version 8 from
http://java.com/en/download/manual.jsp