Skip to content
Prev 12186 / 15075 Next

rJava problem in Mac OS Sierra 10.12.5

I don't think you have provided enough information to know what to advise, but you might try looking through the r-sig-mac archives using one of the search engines:

http://markmail.org/search/?q=+list%3Aorg.r-project.r-sig-mac+No+Java+runtime+present%2C+try+--request+to+install

... although I found no questions reporting that exact error message, or you can use the StackOverflow search facilities:

https://stackoverflow.com/search?q=%5Br%5D+osx+rjava+install

People generally do have a Java runtime engine installed somewhere. Here's what I see at a Terminal session:

dw-mac-pro:~ davidwinsemius$ which java
/usr/bin/java


dw-mac-pro:~ davidwinsemius$ java -version
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

rJava says it only requires a much older version:

SystemRequirements: Java JDK 1.2 or higher (for JRI/REngine JDK 1.4 or
        higher), GNU make

I think some packages do require the more recent Java runtime package, though.

Most people are running Yosemite or higher so the SO answer to this question may be helpful:

http://stackoverflow.com/questions/30738974/rjava-load-error-in-rstudio-r-after-upgrading-to-osx-yosemite
Your question will have a better chance of coming through correctly if you use palin text for R mailing list submissions.
David Winsemius
Alameda, CA, USA