Does XLConnect package work with Java 8?

前端 未结 2 1791
名媛妹妹
名媛妹妹 2021-01-21 20:09

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.

相关标签:
2条回答
  • 2021-01-21 20:41

    Try to define the path

    options(java.home="C:/Program Files/Java/jre7/")
    

    Change it appropriately

    0 讨论(0)
  • 2021-01-21 20:50

    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
    
    0 讨论(0)
提交回复
热议问题