"No Java runtime present, requesting install. ERROR: loading failed"
There are a ton of threads out there about this problem, but it seems to boil down to this unclosed (and untouched since 2014-01) JDK issue -> https://bugs.openjdk.java.net/browse/JDK-7131356
The "solution" can be found on the last comment on this rJava github issue: https://github.com/s-u/rJava/issues/37
- install JDK 1.6 from Apple (http://support.apple.com/kb/DL1572)
- open a new terminal window and make sure you're still using 1.8 - "java -version"
- run "sudo R CMD javareconf -n" from a terminal window
- start up R and install rJava again from source - install.packages("rJava", type="source")
No comments:
Post a Comment