On Mon, Sep 27, 2021 at 1:07 PM Richard W.M. Jones
<rjones(a)redhat.com> wrote:
>
> A question about this which is semi-related to your email.
>
> For some C library packages we have Java bindings, eg:
>
https://github.com/libguestfs/libguestfs/tree/master/java
>
> These have been disabled in Fedora for ~2 years, but when they were
> around they had these BuildRequires:
>
> BuildRequires: java-1.8.0-openjdk
> BuildRequires: java-1.8.0-openjdk-devel
> BuildRequires: jpackage-utils
>
> I believe the only requirements are javac, javah, javadoc (optional)
> and a JVM to run the tests on.
>
> Is it possible to keep this going, or would that require a lot of
> work? I notice that javah no longer seems to exist.
>
> (Note I know almost nothing about how the modern JDK works)
I think you'd probably want to do
1) switch to java-11-openjdk (it's the default on all currently
supported Fedora branches)
This means that the built JAR files will be unusable with OpenJDK 8,
though. Maybe there are still some users left?
Thanks,
Florian