RNetLogo not working on Mac Yosemite
问题 I just tried this, but I got this error message. Any ideas about how to fix it? I am using the R version 3.1.1, RNetLogo_1.0-1, the platform is x86_64-apple-darwin13.1.0 (64-bit), Java 7 update 60. Sys.setenv(NOAWT=1) library(JGR) Sys.unsetenv("NOAWT") JGR() library(RNetLogo) nl.path <- "/Applications/NetLogo 5.1.0" NLStart(nl.path) Error in .jnew("nlcon/Preprocess") : java.lang.UnsupportedClassVersionError: nlcon/Preprocess : Unsupported major.minor version 51.0 回答1: You need at least Java 7