Can't start Cassandra on Windows, getting UnsatisfiedLinkError "Can't find dependent libraries"


Author: localdata01

Originally Sourced from: https://stackoverflow.com/questions/67841339/cant-start-cassandra-on-windows-getting-unsatisfiedlinkerror-cant-find-depen

Java:

java version "1.8.0_271"
Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)

Python Version: Python 2.7.18

I wanted to start cassandra but I got this error:

na8359801313343189739.dll: Can't find dependent libraries
java.lang.UnsatisfiedLinkError: C:\Users\rambo\AppData\Local\Temp\jna-108279019\jna8359801313343189739.dll: Can't find dependent libraries
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.load0(Unknown Source)
        at java.lang.System.load(Unknown Source)
        at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:851)
        at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:826)
        at com.sun.jna.Native.<clinit>(Native.java:140)
        at org.apache.cassandra.utils.WindowsTimer.<clinit>(WindowsTimer.java:35)
        at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:630)
        at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:786)
ERROR [main] 2021-06-04 19:01:40,594 CassandraDaemon.java:803 - Exception encountered during startup
java.lang.UnsatisfiedLinkError: C:\Users\rambo\AppData\Local\Temp\jna-108279019\jna8359801313343189739.dll: Can't find dependent libraries
        at java.lang.ClassLoader$NativeLibrary.load(Native Method) ~[na:1.8.0_271]
        at java.lang.ClassLoader.loadLibrary0(Unknown Source) ~[na:1.8.0_271]
        at java.lang.ClassLoader.loadLibrary(Unknown Source) ~[na:1.8.0_271]
        at java.lang.Runtime.load0(Unknown Source) ~[na:1.8.0_271]
        at java.lang.System.load(Unknown Source) ~[na:1.8.0_271]
        at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:851) ~[jna-4.2.2.jar:4.2.2 (b0)]
        at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:826) ~[jna-4.2.2.jar:4.2.2 (b0)]
        at com.sun.jna.Native.<clinit>(Native.java:140) ~[jna-4.2.2.jar:4.2.2 (b0)]
        at org.apache.cassandra.utils.WindowsTimer.<clinit>(WindowsTimer.java:35) ~[apache-cassandra-3.11.10.jar:3.11.10]
        at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:630) [apache-cassandra-3.11.10.jar:3.11.10]
        at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:786) [apache-cassandra-3.11.10.jar:3.11.10]

i am very thankful for you help!!!