this is the link of the program
http://vip.cs.utsa.edu/downloads/sp.zip
ystem and User Requirements
System requirements:
Computer with a Java runtime environment, version 1.1 or later.
Java 1.4.2 or later is recommended.
You need the following files to run the simulator:
SP.jar
Jeli.jar
spconfig
runsp.bat (for Windows) or runsp for UNIX or Mac OSX
User requirements:
Familiarity with running a program in a command line environment
Some knowledge of the Dining Philosophers Problem.
If you are only interested in this simulator, you can download a zip file sp.zip that contains all of the files that you need.
Running in a non-Windows environment:
If you installed the simulator by copying the files from a CD, the scripts may not have the correct permissions to run. The convert and runsp files should be executable.
The ASCII files distributed with this distribution are in the Windows format in which lines end in a carriage return followed by a line feed. It may be more convenient to have the carriage returns removed. If you are running under UNIX, Linux, or Mac OSX, it may be more convenient to have the carriage returns removed. You can remove all of the carriage returns from these files by executing the convert script.