The source project of this merge request has been removed.
Restrict the JNI/Java bindings on archs with Java
Limit the default-jdk build dependency, and the libjpegxl-java binary package to the architectures that have Java available; enable the JNI bindings only for those.
This makes it possible to build jpeg-xl on architectures that have no Java available.