knutwannheden opened issue #8394:
Feature
It would be great with an official Java API for Wasmtime based on JNI like https://github.com/kawamuray/wasmtime-java.
Benefit
Allow Java applications to run WebAssembly code using Wasmtime.
Implementation
I assume https://github.com/kawamuray/wasmtime-java represents a good start, but I have no idea if it is up-to-date with recent developments, as said repo hasn't seen much changes lately.
Alternatives
?
bjorn3 commented on issue #8394:
bjorn3 edited a comment on issue #8394:
knutwannheden commented on issue #8394:
Thanks! If having this as a feature request is pointless at this time, I can close the issue again.
zacharywhitley commented on issue #8394:
I had the same experience you did three years ago. I used katamuray/wasmtime-java (I also looked at bluejekyll/wasmtime-java) for a prototype using wasmtime. It only had minimal coverage and hasn't been updated since. As a result I started a project to bring comprehensive support to Java for WebAssemby. I will make a more formal announcement soon and there's too much to include here but I've just released three packages to help make Java a first class language for WebAssembly.
https://github.com/tegmentum/webassembly4j
https://github.com/tegmentum/wasmtime4j
https://github.com/tegmentum/wamr4jAny feedback would be appreciated. I hope that you and others will find this useful.
Last updated: Mar 23 2026 at 19:19 UTC