-
Notifications
You must be signed in to change notification settings - Fork 0
Running JWormBenchApp
inesc-id-esw edited this page Mar 15, 2011
·
37 revisions
The JWormBenchApp application is deployed in jwormApp.jar located in dist folder, which depends on other configuration files and libraries located in config and lib folders respectively:
- config – contains the configuration files for worms, world and operations.
- lib - the following libraries are fundamental to run JWormBenchApp application: aopalliance.jar, guice-2.0.jar and jwormbench.jar. Inside lib folder you can also find other libraries related to synchronization strategies already suported by JWormBenchApp (e.g. jvstm.jar, deuceAgent-1.3.0.jar,etc). To run JWormBenchApp with one of those synchronization strategies you must also include the corresponding library in the Java CLASSPATH.
Before running JWormBenchApp you must configure the Java CLASSPATH to include the essential libraries contained in lib folder. You can configure the CLASSPATH and run JWormBenchApp with its default parameterization as following:
export CLASSPATH=lib/guice-2.0.jar:lib/aopalliance.jar:lib/deuceAgent-1.3.0.jar:lib/jvstm.jar:dist/jwormApp.jar
java jwormbench.app.ConsoleApp