On Mon, 27 Sept 2021 at 12:07, 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)
Rich.
Hi, the functionality provided by javah has been folded into javac in
recent JDKs.
These days you can make one call to "javac -h" instead of having to
call both "javac" and "javah"
I ported quite a few packages this way when Fedora made the switch to
Java 11 by default. If you like I can probably take a look libguestfs
and send you a PR?
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v
_______________________________________________
devel mailing list -- devel(a)lists.fedoraproject.org
To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure
--
Mat Booth
http://fedoraproject.org/get-fedora