When i'm trying to load the .so file from the Java, i'm getting error like this.
Exception in thread "main" java.lang.UnsatisfiedLinkError: no yeslib.so in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1681)
at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1047)
at com.rct.micros.util.GetCustClass.getScratchCode(GetCustClass.java:76)
at com.rct.micros.util.GetCustClass.main(GetCustClass.java:39)
我試過System.load(absoulte path)和System.loadLibrary(sofilename)。兩者都給出了同樣的錯誤。當我將這個文件複製到usr/lib/jvm包中時,它正在工作..java.lang.UnsatisfiedLinkError:no在java.library.path中不存在
任何人都可以幫助如何使用Java解決此問題。我在Linux上運行。
任何人都可以幫助我這個..! – Mohan