Objective C
In the previous slide, the Objective C Swarm demo applications were unpacked. Now you should have several applications:
$ cd swarmapps-2.1.1
$ ls
heatbugs/ hello-world/ market/ mousetrap/ template/ tutorial/
To compile the heatbugs demo into native code, run:
$ cd heatbugs
$ make
To run the the heatbugs model:
$ ./heatbugs
Java
To compile the Java version of heatbugs into Java byte code, run:
$ cd jheatbugs-2.1
$ make
To run the Java version of heatbugs on a Java virtual machine, run:
$ javaswarm StartHeatbugs