"find_java_runtime openjdk" fails to find /usr/lib/jvm/java-21-openjdk-amd64

Bug #2063510 reported by tom stevens
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
java-wrappers (Ubuntu)
New
Undecided
Unassigned

Bug Description

# . /usr/lib/java-wrappers/java-wrappers.sh
# 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.21.0-openjdk-amd64
lrwxrwxrwx 1 root root 21 Apr 22 19:35 java-1.21.0-openjdk-amd64 -> java-21-openjdk-amd64
drwxr-xr-x 7 root root 4096 Apr 25 15:31 java-21-openjdk-amd64

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: java-wrappers 0.4
Uname: Linux 5.15.146.1-microsoft-standard-WSL2 x86_64
ApportVersion: 2.28.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CloudBuildName: ubuntu-oci:minimized
CloudSerial: 20240407.1
Date: Thu Apr 25 22:17:36 2024
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 TERM=xterm
SourcePackage: java-wrappers
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
tom stevens (tsteven4) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

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.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.