I was asked to install JRE legacy code on my Mac. I did it.
But I had to change one line of your code (NetLogo.init) because the folder containing NetLogo has a different path and I got an error. Please see what is the mistake I did:
Main> using NetLogo
Loaded /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/server/libjvm.dylib
Main> NetLogo.init("/Applications/Netlogo 6.0.4/Netlogo 6.0.4.app")
signal (11): Segmentation fault: 11
while loading no file, in expression starting on line 0
unknown function (ip: 0x11dad72b3)
Allocations: 4188932 (Pool: 4187476; Big: 1456); GC: 7
I was asked to install JRE legacy code on my Mac. I did it.
But I had to change one line of your code (NetLogo.init) because the folder containing NetLogo has a different path and I got an error. Please see what is the mistake I did: