After which Java now fails with the following error -
~ # java --version
Error: dl failure on line 598
Error: failed /usr/lib/jvm/java-11-openjdk/lib/server/libjvm.so, because /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libstdc++.so.6)
I assume you’re not using stable branch as you have written in your profile, right? You must be using testing or unstable
tested on my machine with the testing branch and works okay for me, seems to be linked all okay,
make sure you have uptodate mirrors and try again “sudo pacman -Syyu --sysupgrade” and reboot the wsl?