Correct way to check Java version from BASH script Correct way to check Java version from BASH script bash bash