[libvirt-ci PATCH 4/6] guests: pull in the full JDK, not merely the JRE

Daniel P. Berrangé posted 6 patches 5 years, 9 months ago
[libvirt-ci PATCH 4/6] guests: pull in the full JDK, not merely the JRE
Posted by Daniel P. Berrangé 5 years, 9 months ago
The libvirt-java binding needs the JDK to build successfully, as that
provides the compiler.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
 guests/vars/mappings.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/guests/vars/mappings.yml b/guests/vars/mappings.yml
index c3b8488..3135afd 100644
--- a/guests/vars/mappings.yml
+++ b/guests/vars/mappings.yml
@@ -288,10 +288,10 @@ mappings:
     OpenSUSE: mkisofs
 
   java:
-    deb: openjdk-11-jre-headless
+    deb: openjdk-11-jdk-headless
     pkg: openjdk11
     rpm: java-11-openjdk-headless
-    Debian9: openjdk-8-jre-headless
+    Debian9: openjdk-8-jdk-headless
 
   jna:
     default: jna
-- 
2.26.2

Re: [libvirt-ci PATCH 4/6] guests: pull in the full JDK, not merely the JRE
Posted by Andrea Bolognani 5 years, 8 months ago
On Mon, 2020-05-11 at 18:22 +0100, Daniel P. Berrangé wrote:
> The libvirt-java binding needs the JDK to build successfully, as that
> provides the compiler.
> 
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
>  guests/vars/mappings.yml | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Andrea Bolognani <abologna@redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization