I am trying to connect to embedded cassandra in mac Os M1 chip with Ventura Os
Cassandra Version: 3.11.14 Embedded Cassandra Version: 4.0.7
I am getting
Exception in thread "main" com.github.nosan.embedded.cassandra.CassandraException: Unable to start DefaultCassandra{name='cassandra-0', version='3.11.14'}. Caused by: java.io.FileNotFoundException: /var/folders/50/fwdzhkdd4zz_yn53s0szx2vw0000gq/T/apache-cassandra-6267611957967446273/bin/cassandra does not exist.
I tried to debug all the folders got created inside apache-cassandra-6267611957967446273 but bin folder was not created.
Help would be great.
Looking for help for fix
I was trying to run it today and what I got:
Are you sure that Apache Cassandra 3.11.14 supports M1 chip?
Regarding your question about FileNotFoundException, looks like something is wrong with downloaded files.
Could you clean up ~/.embedded-cassandra directory and try again, please?
UPDATE:
If you still want to run 3.11.14 version on M1, then you can try:
But you need to download jna-5.9.0.jar library. https://mvnrepository.com/artifact/net.java.dev.jna/jna/5.9.0