Java version verification is only performed when running in interactive mode.
This can lead to silent failure when trying to run with an incompatible Java version.