"find_java_runtime openjdk" fails to find /usr/lib/jvm/java-21-openjdk-amd64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
java-wrappers (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
# . /usr/lib/
# find_java_runtime openjdk
[warning] /bin/bash: No java runtime was found
# ls -l /usr/lib/jvm
total 4
lrwxrwxrwx 1 root root 25 Oct 4 2023 default-java -> java-1.
lrwxrwxrwx 1 root root 21 Apr 22 19:35 java-1.
drwxr-xr-x 7 root root 4096 Apr 25 15:31 java-21-
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: java-wrappers 0.4
Uname: Linux 5.15.146.
ApportVersion: 2.28.1-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CloudBuildName: ubuntu-
CloudSerial: 20240407.1
Date: Thu Apr 25 22:17:36 2024
PackageArchitec
ProcEnviron:
PATH=(custom, no user)
TERM=xterm
SourcePackage: java-wrappers
UpgradeStatus: No upgrade log present (probably fresh install)
The attachment "patch to add openjdk21 to jvm-list.sh" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]