Wanted to put this as a comment, but I lost my right to commenting by awarding a bounty to the question and getting below 50 rep... :-S
@Jan : I executed the functions you mentioned and got the following
[1] 0
.jcall("java/lang/System", "S", "getProperty", "java.vm.version")
[1] "20.65-b04-462"
.jcall("java/lang/System", "S", "getProperty", "java.vm.name")
[1] "Java HotSpot(TM) 64-Bit Server VM"
.jcall("java/lang/System", "S", "getProperty", "java.vm.info")
[1] "mixed mode"
.jcall("java/lang/System", "S", "getProperty", "java.runtime.version")
[1] "1.6.0_65-b14-462-11M4609"
.jcall("java/lang/System", "S", "getProperty", "sun.arch.data.model")
[1] "64"
I understand that R might not be picking up the right Java version. I also get the error message
Error in .jnew("nlcon/Preprocess") :
java.lang.UnsupportedClassVersionError: nlcon/Preprocess : Unsupported major.minor version 51.0
Am I understanding correctly that version 51.0 corresponds to some update of Java 7? Should there be a problem with Java 7? Do we really need to make sure R finds and uses Java 8? I guess that R is still trying to use Java 7 suggest there is something wrong? Any idea how to fix this?
Edit following last answer by Jan
@Jan : thanks for following up on the question. I might chose to go back to older versions of RNetLogo if it solves the problem. The thing is I installed Java 8, so I would expect R to use it, but somehow it seems that it does not. For clarity, I'll start another question in order to figure out how to solve this ( see Getting R to use newer versions of java).
This being said from Getting R to use newer versions of java and the fact that the error message in R mentions version 51 I understand that I am indeed using Java 7, so there should be no problem with RNetLogo right?