Cross platform fix for Java benchmark shell script.
Replaced obsolete comparator with builtin variant.
Merge pull request #338 from fyrz/rm_obs_code_write_batch_with_index_test

Replaced obsolete comparator with builtin variant.
Merge pull request #337 from fyrz/cross-platform-jdb_bench

Cross platform fix for Java benchmark shell script.