forked from joejulian/gio
2879fe8b41
When the `d8` command from the Android SDK fails because of an incompatible java version, the error message is cryptic. Before reporting the errors, we attempt to detect incompatible versions and report a clearer error. This change adds support for OpenJDK as well as other vendors to the detection logic. Fixes: https://todo.sr.ht/~eliasnaur/gio/342 Signed-off-by: Elias Naur <mail@eliasnaur.com>