I want to do benchmarking using SPECjvm.
The SPECjvm user guide states
It should be executed from a shell or command window and should be executed where the benchmark is installed, where the SPECjvm2008.jar file is located.
And it works by doing so, e.g.:
user@pc:~/util/SPECjvm2008$ java -jar /home/user/util/SPECjvm2008/SPECjvm2008.jar
Yet I would like to execute SPECjvm benchmarks independent of the shell's current location, e.g.:
user@pc:~/somewhere/else$ java -jar /home/user/util/SPECjvm2008/SPECjvm2008.jar
Does anyone here have experience with SPECjvm who could tell me if there is a possibility to achieve this, e.g. by setting the classpath, a command-line parameter or something similar?