Thanks Jason and Nicolas,

Copying those library jars fixed the problem and all seems to be working
now.

Best,

-ken


On 28 January 2014 19:23, Nicolas Payette <[email protected]> wrote:

> Hi Ken,
>
> Jason is right that this particular error is due to a version mismatch
> of the Scala library.
>
> I don't know anything about your setup for the BehaviorComposer, but I
> suspect you might be trying to control a NetLogo installation that's
> mostly based on 5.0.5 - trying to use recent model runs jars (based on
> 5.1) with it might cause other problems as well.
>
> You should at least make sure that all jars in your installation come
> from the lib folder in http://ccl.northwestern.edu/netlogo/5.1.0-M2/.
> Except, of course, for NetLogo.jar and NetLogoHeadless.jar for which
> you already have more recent versions.
>
> I hope this helps,
>
> --
> Nicolas
>
>
> On Tue, Jan 28, 2014 at 2:08 PM, Jason Bertsche
> <[email protected]> wrote:
> > 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; 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.
>

-- 
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