We don't need two separate checks. Just do the version number check. If the command failed, the `version` string will be empty and the version number check will fail. The user will get a helpful error message to install Java 7 in both cases: whether they're missing `java` completely, or when it's outdated.