Enable running java perf via Makefile
Merge pull request #6622 from aviks/as/javaperf

Enable running java perf via Makefile Fix #6317