Public bug reported:
# . /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) ** Affects: java-wrappers (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug cloud-image noble ** Patch added: "patch to add openjdk21 to jvm-list.sh" https://bugs.launchpad.net/bugs/2063510/+attachment/5770583/+files/jvmlist.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063510 Title: "find_java_runtime openjdk" fails to find /usr/lib/jvm/java-21-openjdk-amd64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/java-wrappers/+bug/2063510/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs