For anyone who want to experiment with WebAssembly in Java, we just shipped a Java Host SDK[0] for Extism[1] which makes it about as easy as possible to call wasm functions from your Java programs.
0: https://extism.org/docs/integrate-into-your-codebase/java-ho...