swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swarm-Support] Swarm and Leopard - part 1 - Java simulations


From: Marcus G. Daniels
Subject: Re: [Swarm-Support] Swarm and Leopard - part 1 - Java simulations
Date: Sun, 04 Nov 2007 07:50:30 -0700
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

Alessandro Perrone wrote:
Here it is the result of the compilation of heatbugs.

alessandro-perrones-power-mac-g5:jheatbugs-2001-03-28 alex$ make
/Users/alex/sw/bin/javacswarm Heatbug.java HeatCell.java HeatSpace.java HeatbugModelSwarm.java HeatbugObserverSwarm.java StartHeatbugs.java HeatbugBatchSwarm.java
Heatbug.java:6: package swarm does not exist
import swarm.Globals;
            ^
That just means that either the javaswarm script isn't really pointing at the swarm.jar file or the swarm.jar file isn't actually built completely. If it is there (e.g. /Users/alex/sw/share/swarm/swarm.jar), try setting the CLASSPATH to it and setting the DYLD_LIBRARY_PATH to where your Swarm dylib's are. Then just use `java' to run the simulation. The javaswarm and javacswarm scripts are just conveniences and have no special behavior w.r.t. to Swarm. It's not surprising that the autoconf stuff for Leopard wouldn't be complete as the checks for Java and Tcl/Tk, etc. are just from an inventory of known systems (and Leopard is new).

Marcus



reply via email to

[Prev in Thread] Current Thread [Next in Thread]