java什么的都安装好之后再运行。
把peersim.1.0.5解压之后的文件夹类似如下所示:
cat@Ubuntu:~/java/peersim-1.0.5$ lsbuild.xml chord doc jep-2.3.0.jar overview.html peersim-doclet.jar RELEASE-NOTES srcCHANGELOG djep-1.0.0.jar example Makefile peersim-1.0.5.jar README result
运行如下命令:
java -cp "peersim-1.0.5.jar:jep-2.3.0.jar:djep-1.0.0.jar" peersim.Simulator example/config-example1.txt