> On Jul 19, 2017, at 8:34 AM, Manuel Spínola <mspinol...@gmail.com> wrote: > > Dear list members, > > I have problem loading some packages because rJava cannot be loaded. I > have the latest version of java, R and rJava. > >> library(glmulti) > Unable to find any JVMs matching version "(null)". > No Java runtime present, try --request to install. > running command '/usr/libexec/java_home' had status 1Error: package ‘rJava’ > could not be loaded > > What I need to do to load the packages that depend on rJava?
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 > > -- > *Manuel Spínola, Ph.D.* > Instituto Internacional en Conservación y Manejo de Vida Silvestre > > > [[alternative HTML version deleted]] Your question will have a better chance of coming through correctly if you use palin text for R mailing list submissions. > > _______________________________________________ > R-SIG-Mac mailing list > R-SIG-Mac@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-mac David Winsemius Alameda, CA, USA _______________________________________________ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac