The problem was misconfiguration of asdf Java Plugin. I've installed Java 21, but not configured JAVA_HOME to point to current reference to Java binary in asdf, as described here: https://github.com/halcyon/asdf-java?tab=readme-ov-file#java_home.