Do I have to manually provide the native lib files? I run into the same issue when using wasmtime4j directly.
Jun 17, 2026 5:18:20 PM ai.tegmentum.wasmtime4j.factory.WasmRuntimeFactory selectRuntimeType
INFO: Auto-selected JNI runtime for Java 21
Jun 17, 2026 5:18:20 PM ai.tegmentum.wasmtime4j.factory.WasmRuntimeFactory create
INFO: Creating WebAssembly runtime with type: JNI
Exception in thread "main" ai.tegmentum.webassembly4j.api.exception.ProviderUnavailableException: No compatible provider found for on Java 21
at ai.tegmentum.webassembly4j.spi.internal.ServiceLoaderProviderRegistry.lambda$createEngine$0(ServiceLoaderProviderRegistry.java:68)
at java.base/java.util.Optional.orElseThrow(Optional.java:403)
at ai.tegmentum.webassembly4j.spi.internal.ServiceLoaderProviderRegistry.createEngine(ServiceLoaderProviderRegistry.java:68)
at ai.tegmentum.webassembly4j.spi.internal.ServiceLoaderProviderRegistry.createEngine(ServiceLoaderProviderRegistry.java:51)
at ai.tegmentum.webassembly4j.api.DefaultWebAssemblyBuilder.build(DefaultWebAssemblyBuilder.java:49)
at ai.tegmentum.webassembly4j.runtime.WasmRuntime.call(WasmRuntime.java:61)
Do I have to manually provide the native lib files? I run into the same issue when using wasmtime4j directly.