[armedbear-devel] Does ABCL reload abcl.jar after it starts up?

Marshall mabrams001 at bham.rr.com
Tue Jun 19 21:00:09 UTC 2012

I have a quick (I hope) question.  Does ABCL reload abcl.jar after it starts up?  Or do something else unusual with the jar once it's running?

Context: I'm exploring using ABCL as an add-on to NetLogo, an agent-based modeling environment.  (It might be more correct to say that I'm using NetLogo as an add-on to ABCL, since the primary code is in Lisp.)  With the add-on method, NetLogo "extensions", one usually doesn't have to tell NetLogo where additional jars such as abcl.jar can be found.  As long as they're in the extension's own directory, NetLogo will find the extra jars.  This is apparently due to a little bit of voodoo that NetLogo engages in.  However, in the case of my ABCL extension, NetLogo will load the extension, but then generate an error when I invoke ABCL via Interpreter.evaluate().  The problem is avoided if specify abcl.jar in the classpath explicitly, either on the command line (undesirable for NetLogo), or by adding abcl.jar to the classpath in Java (which works fine--so that's what I'm doing).   Just curious about what ABCL is doing--thanks.

(The ABCL NetLogo extension is very simple, now that I've figured out the details, and seems to be working beautifully, by the way.  I'm surprised that there haven't been some glitches.  It just works.)

Marshall Abrams
mabrams at uab.edu

More information about the armedbear-devel mailing list