RStudio Server and rJava

Dear community,

Regarding rJava, in RStudio Server when I type

.jcall("java/lang/System", "S", "getProperty", "java.runtime.version")

I get

[1] "1.7.0_121-b00"

But on my local machine (Ubuntu 14.04, R version 3.5.1)

I instead get

[1] "1.8.0_191-b12"

Also, on local


[1] "/usr/lib/jvm/java-8-oracle"

While on server side


[1] ""

Why is RStudio Server not getting the right java version?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.