Note the lack of the space in the command javaImport. What may have
happened is that the command (java) is invoke with the (null) parameters
Import and org.nlogo.lite.InterfaceComponent, hence the error message.
Samuel Dennis R. Borlongan
On Thu, Jun 26, 2014 at 4:48 PM, Christophe Gragnic <
> Hi all,
> I'm trying to play with NetLogo:
> from Picolisp/Ersatz.
> I managed to create a working .java with an empty NetLogo model,
> but am stuck at translating this file to Picolisp. The .java is here:
> In fact the main problem may be the classpath. Whatever I try in
> the pil script, adjusting the -cp option to the `java` call, I get this
> java.lang.ClassCastException: PicoLisp$NilSym cannot be cast to
> At this line:
> (java Import org.nlogo.lite.InterfaceComponent)
> Is it the right way to do this?
> Is there something I must know in order to import from a .jar
> in Ersatz?
> http://profgra.org/lycee/ (site pro)
> http://delicious.com/profgraorg (liens, favoris)
> UNSUBSCRIBE: mailto:firstname.lastname@example.org?subject=Unsubscribe