The current documentation on the controlling API is at https://github.com/NetLogo/NetLogo/wiki/Controlling-API
<https://lh4.googleusercontent.com/-TpkV8-opAe8/Ur8fOhrixWI/AAAAAAAABF4/Ll5xeOAcCZw/s1600/Screen+Shot+2013-12-28+at+15.52.59.png> I can get the result of burned trees but it seem that I can't make it non-headless. I wonder how I can get the UI show up. Thanks very much! Robert On Friday, 27 December 2013 20:38:54 UTC, Seth Tisue wrote: > > >>>>> "Robert" == Robert White <ai.robert...@gmail.com <javascript:>> > 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.