JNA error when using scaladsl.testkit for Cassandra on a M1 apple silicon

Hi there. When running
ServiceTest.startServer(ServiceTest.defaultSetup.withCassandra(true))

I’m having an error related with the version of JNA
09/01 09:48:51 ERROR[main] o.a.c.u.NativeLibraryDarwin - Failed to link the C library against JNA. Native methods will be unavailable.
java.lang.UnsatisfiedLinkError: Can’t load library: /var/folders/8r/29rv_csd2qx7s8m46czy3_sr0000gr/T/jna–1972049983/jna8410523569811993578.tmp

I’ve changed java versions several times trying to find one working but I can’t. Is there any workaround fixing the load of JNA?

Current version =>
openjdk 11.0.15.1 2022-04-22 LTS
OpenJDK Runtime Environment (build 11.0.15.1+2-LTS)
OpenJDK 64-Bit Server VM (build 11.0.15.1+2-LTS, mixed mode)

Every time the test gets loaded the temporary file of the dependency change, so I can’t just put there manually and wait to have it loaded.

Thanks