Checks for java_home bin.