The latest code in 'master'/Model Runs uses Scala 2.10, rather than Scala 2.9 (unlike NetLogo 5.0.5). To fix this problem, find the 'scala-library.jar' within your newly-Frankensteined installation of NetLogo and replace it with Scala 2.10 version of that '.jar'. Scala 2.10.3 can be downloaded here <http://www.scala-lang.org/download/2.10.3.html>; take the library from the 'lib' directory of the archive.

Jason Bertsche
Senior Software Developer - NetLogo

On 1/28/2014 12:52 PM, Ken Kahn wrote:
When I substituted the 5.05 netlogo.jar for the latest jars (thanks Nicolas): netlogo.jar and netlogoheadless.jar I get no compiler warnings but when launching it I get

Exception in thread "main" java.lang.NoClassDefFoundError: scala/Tuple2$mcZZ$sp
at org.nlogo.app.App$.main(App.scala:82)
at org.nlogo.app.App.main(App.scala)
at uk.ac.ox.it.modelling4all.bc2netlogo.BC2NetLogo.main(BC2NetLogo.java:82)
Caused by: java.lang.ClassNotFoundException: scala.Tuple2$mcZZ$sp
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 3 more
--
You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to