RStudio Server and rJava

rstudio
rstudioserver
rjava

#1

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

Sys.getenv('JAVA_HOME')

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

While on server side

Sys.getenv('JAVA_HOME')

[1] ""

Why is RStudio Server not getting the right java version?
Thanks


#2

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