To create your own Mac M1 / ARM64 / AArch64 akka-persistence-cassandra cassandra-bundle.jar file
git clone git@github.com:akka/akka-persistence-cassandra.git- Make sure you're using Java 8 (tested with
8.0.345-librcaand Azul Zulu 8) - Open
akka-persistence-cassandrain IntelliJ and check the Java version under File > Project Structure > Project Settings > Project. Make sure the SDK is set to the Java 8 version from step 2. - Add
dependencyOverrides += "net.java.dev.jna" % "jna" % "5.12.1"to thecassandraBundleproject in thebuild.sbtofakka-persistence-cassandra sbt cassandraBundle/assemblyto createcassandra-bundle/target/bundle/akka.persistence.cassandra.launcher/cassandra-bundle.jar(you might have to comment out a few broken test suites to get this to run)- Check your work by running the
CassandraLauncherSpecinakka-persistence-cassandra - Now you can use your
cassandra-bundle.jarto run theCassandraLauncherin third-party projects, like this one!