Search code examples
akkapersistencethreadpoolexecutorleveldb

no leveldbjni64-1.8 in java.library.path exception while running akka project


I am trying to start an existing project from the main class. But getting the exception below.

java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no leveldbjni64-1.8 in java.library.path, no leveldbjni-1.8 in java.library.path, no leveldbjni in java.library.path, C:\Users\Z003SXSP\AppData\Local\Temp\leveldbjni-64-1-386410980806513791.8: Can't find dependent libraries]

But when I tried running the same project from other machine, I am able to run it successfully also found leveldbjni-64-1-386410980806513791.8 file has been created in temp directory. Not getting why it not able to generate that file and complaining the above resulting in shutting down JVM from my machine.

Attached the screenshot of the log.

enter image description here

TIA.


Solution

  • You need to install the Microsoft Visual C++ 2010 Redistributable for your windows machine, that may solve your issue, refer here for more :-link