Check for required Java version when starting sbt.