Check for required Java version when starting sbt.

Get a better error message when someone tries to build with an old version, rather than “no such class java.nio.whatever”.