Downloading MERCATUS and Using .jar files:
1) copy the two jar files "mercatus2.jar" and "simjava.jar" to the directory "c:\Directory_of_your_choice".
2) compile your Experiment.java as shown below
javac -classpath "c:\Directory_of_your_choice\simjava.jar;c:\
Directory_of_your_choice\mercatus2.jar;." Experiment.java
3) run simulation as shown below
java -classpath "c:\Directory_of_your_choice\simjava.jar;c:\
Directory_of_your_choice\mercatus2.jar;." Experiment
Click here to download the
mercatus2.jar
. simjava.jar can be obtained by downloading
SimJava 1.2
. Download SimJava 1.2 to "c:\any_location" and you will be able to find simjava.jar at "c:\any_location\simjava-1.2\jars".
More about SimJava can be found in "
simjava: a discrete event simulation package for Java with applications in computer systems modelling
", in Proc. First International Conference on Web-based Modelling and Simulation, San Diego CA, Society for Computer Simulation, Jan 1998, by Fred Howell and Ross McNab (1998).