Those languages are very much designed around the JVM though. You
have Scala, but not eg: C++, because the JVM itself is much higher level than what many languages would want to target.
Arguably, JVM languages have much better tooling for them to be designed and interoperable (through Truffle and GraalVM) than WASM where everyone has to write a backend (or use LLVM which has its downsides).
https://www.graalvm.org/22.0/reference-manual/llvm/