Nicer java binary detection.
Nicer java binary detection.

MonashBioinformaticsPlatform/bio-ansible,MonashBioinformaticsPlatform/bio-ansible,MonashBioinformaticsPlatform/bio-ansible,MonashBioinformaticsPlatform/bio-ansible,MonashBioinformaticsPlatform/bio-ansible