If the Java version is to old then Java produce such very cryptic error message: UnsupportedClassVersionError... . Although we have the necessary Java version in the release notes, many customers contact the support with this error message.
Is there a simple solution to show the users a better error message?
We use Gradle for the building. How can I compile a small set of files with a lower class file version? In this files we can do a version check to display the error message.
Of course we can't change the class file version of the completely project.