[CB-3830] Check for java on path