openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #14765
[Bug 2059181] Re: update-java-alternatives show error with openjdk-8-jre-headless
** Changed in: openjdk-8 (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-8 in Ubuntu.
https://bugs.launchpad.net/bugs/2059181
Title:
update-java-alternatives show error with openjdk-8-jre-headless
Status in openjdk-8 package in Ubuntu:
Fix Released
Bug description:
Alternatives for jexec have been excluded from the latest version of
openjdk-8-jre-headless (8u402) and this causes update-java-
alternatives to throw the following error:
update-alternatives: error: alternative /usr/lib/jvm/java-8-openjdk-
amd64/jre/lib/jexec for jexec not registered; not setting
Solution:
Reference to jexec should be removed from
/usr/lib/jvm/.java-1.8.0-openjdk-amd64.jinfo since update-java-
alternatives uses this file to determine what alternatives to create.
Patch:
--- .java-1.8.0-openjdk-amd64.jinfo.backup 2024-02-27 15:08:05.000000000 +0100
+++ .java-1.8.0-openjdk-amd64.jinfo 2024-03-27 00:57:58.136594220 +0100
@@ -13,7 +13,6 @@
hl orbd /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/orbd
hl servertool /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/servertool
hl tnameserv /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/tnameserv
-hl jexec /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jexec
jre policytool /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/policytool
jdkhl jdeps /usr/lib/jvm/java-8-openjdk-amd64/bin/jdeps
jdkhl wsimport /usr/lib/jvm/java-8-openjdk-amd64/bin/wsimport
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/2059181/+subscriptions
References