ci: Add OpenJDK to Debian and Fedora base images

This enables the `JavaExportImport` test in CI.
4 files changed