Fix Java version detection for IGV compilation.
Fix Java version detection for IGV compilation.

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