Compile and Run

To run the Traffic Simulator Demo:

  • Download the “Traffic Simulator” package from the Downloads page.
  • Extract the files and navigate to the root directory.

Run Under Windows:
First double click on environment.bat to start the environment. Then double click on webserver.bat to run the webserver. Navigate to http://127.0.0.1:8080 in your web browser (Firefox is preferable). A menu should appear, click on Server Mode to view the simulation.

Run Under Linux:
Open two terminals. In one, run environment.sh to start the environment. In the other, run webserver.sh to start the webserver. Navigate to http://127.0.0.1:8080 in your web browser (Firefox is preferable). A menu should appear, click on Server Mode to view the simulation.

To compile:

Prerequisite: Have the Java JDK installed (1.6 or later)

Compile under Windows:
Double click or run compile.bat

Compile under Linux:
type make in the command line.