I recently upgraded my build to java 21 from 11. I updated my pom to the latst version of embedded-cassandra. When I run my in-memory tests, I get the following error:
2024-03-20 19:01:59.428(GMT) ERROR Unrecognized VM option 'UseBiasedLocking'
2024-03-20 19:01:59.431(GMT) ERROR Error: Could not create the Java Virtual Machine.
2024-03-20 19:01:59.431(GMT) ERROR Error: A fatal exception has occurred. Program will exit.
Is there a solution for this problem? Does embedded-cassandra support java 21?
It is not about Embedded Cassandra itself. As far as I know, Apache Cassandra does not support jdk21 so far. You can try to use 5.0-beta1