Cross platform fix for Java benchmark shell script.
Merge pull request #337 from fyrz/cross-platform-jdb_bench

Cross platform fix for Java benchmark shell script.