I like the check for java version. I haven't written much bash code, but since make thinks a build has failed if the return code is nonzero, couldn't we write this:

```make
check:
  javac -version 2>&1 | grep -e " $(JAVA_VERSION)"
```

(I submit to your judgement on the best way to write this though - I respect anyone who is comfortable using `awk`)