1. mkdir Repast - this will hold all of these files
cd Repast
2. Into this Repast directory download
repast.jar
colt.jar
plot.jar
trove.jar
3. Download these class files into the Repast directory:
HeatBug.class
HeatBugsModel.class
HeatBugsModel$2.class
HeatBugsModel$1.class
HeatSpace.class
4. to run:
java -classpath repast.jar:colt.jar:plot.jar:trove.jar:. HeatBugsModel
5. To run Sugarscape in RePast:
mkdir Sugarscape
cd Sugarscape
Download into Sugarscape:
SugarAgent.class"
SugarModel$1SugarRunner.class
SugarModel$AvgAgentMetabolism.class"
SugarModel$vgAgentVision.class"
SugarModel.class
SugarSpace.class
sugarspace.pgm
cd ../ (go back into Repast directory)
To run:
java -classpath repast.jar:colt.jar:plot.jar:trove.jar:./Sugarscape:. SugarModel
This assumes that SugarModel.class is in the directory Sugarscape