java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library How can I get this working? PART 2 The approach of copying the DLLs to a folder (explained below) only works when I run it under the eclipse environment. Running an exported JAR, the DLL binaries are well created but loading the JNI one throws the next exception: Exception in thread "main" java.lang.reflect.InvocationTargetException

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

This is a sub-class of the LinkageError class and indicates that the JVM cannot find an appropriate native-language definition of a method declared as native. Compile a 64-bit version of your .dylib file.

Solutions on the web

via Stack Overflow by supertreta
, 1 year ago
Expecting an absolute path of the library How can I get this working? PART 2 The approach of copying the DLLs to a folder (explained below) only works when I run it under the eclipse environment. Running an exported JAR, the DLL binaries are well created but loading the JNI one throws the next exception: Exception in thread "main" java.lang.reflect.InvocationTargetException
java.lang.UnsatisfiedLinkError: C:\Users\Supertreta\Desktop\nm files\temp\jniBin.dll: Can't find dependent libraries

Users with the same issue

48 times, 4 weeks ago
Once, 1 month ago
Once, 6 months ago
Once, 1 year ago
14 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.