Debian 10 doesn't include OpenJDK 8, which would be a problem
if not for the fact that thankfully the Jenkins agent, which
is the only thing we need Java for, seems to work perfectly
fine with OpenJDK 11 too.

Given this fact, we can move to OpenJDK 11 pretty much across
the board and stick to OpenJDK 8 for the few platforms that
only include the older release.

Signed-off-by: Andrea Bolognani <[email protected]>
---
 guests/vars/mappings.yml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/guests/vars/mappings.yml b/guests/vars/mappings.yml
index 123b287..3cf125b 100644
--- a/guests/vars/mappings.yml
+++ b/guests/vars/mappings.yml
@@ -258,9 +258,11 @@ mappings:
     FreeBSD: cdrkit
 
   java:
-    deb: openjdk-8-jre-headless
-    pkg: openjdk8-jre
-    rpm: java-1.8.0-openjdk-headless
+    deb: openjdk-11-jre-headless
+    pkg: openjdk11
+    rpm: java-11-openjdk-headless
+    Debian9: openjdk-8-jre-headless
+    Ubuntu16: openjdk-8-jre-headless
 
   json-glib:
     deb: libjson-glib-dev
-- 
2.21.0

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to