Can't Load R Package xlsx


I can load the xlsx package in R or RStudio, ,but when I can't use it inside KNIME. I've installed the R package xlsx using "install.packages(xlsx)" within R snippet including the dependencies, but when I run "library(xlsx)", I get the error below.

Error : .onAttach failed in attachNamespace() for 'xlsx', details:
call: .jcall("java.lang.System", "S", "getProperty", "java.version")
error: RcallMethod: cannot determine object class
Error: package or namespace load failed for 'xlsx'


How can I load the xlsx package?



I think that this post (second solution on the page) should solve your problem:



Jon, do you have an idea how I can do that in Windows? I don't have any file named "" or anything with "libjvm".

Upgrading to KNIME 3.1 solved the issue. Now I can load xlsx.

Hi Onur

and thank you for the update. Glad this works for you!