>>>>> "Robert" == Robert White <ai.robert.wangsh...@gmail.com> writes:

 Robert> Hi all.  I have been trying to run the following code but it
 Robert> seems that wherever I put the Fire.nlogo file, there are always
 Robert> errors.
 Robert> 
http://ccl.northwestern.edu/netlogo/5.0RC2/docs/controlling.html#example

The current documentation on the controlling API is at
https://github.com/NetLogo/NetLogo/wiki/Controlling-API

 Robert> Exception in thread "main" java.lang.NoClassDefFoundError:
 Robert> org/picocontainer/DefaultPicoContainer
 Robert> at java.lang.ClassLoader.defineClass1(Native Method)
 Robert> at java.lang.ClassLoader.defineClass(ClassLoader.java:792)

The above page says:

  In order to compile and run this, NetLogo.jar (from the NetLogo
  distribution) must be in the classpath. In addition, the lib directory
  (also from the NetLogo distribution) must be in same location; it
  contains additional libraries used by NetLogo.jar.

The error you're getting indicates that the lib directory is missing.

--
Seth Tisue | Northwestern University | http://tisue.net
developer, NetLogo: http://ccl.northwestern.edu/netlogo/

-- 
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 netlogo-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to