I am trying to load the rJava using the command:
library(rJava)
But I get the following error:
Error : .onLoad failed i
This has been killing me and I have tried multiple methods above, it doesn't work. After, I mix all solution to try and below process works for me.
setx PATH "C:\Program Files\Java\jre1.8.0_171\bin\server;%PATH%"Sys.setenv(JAVA_HOME="")library(rJava)library(xlsx)