JNA UnsatisfiedLinkError, but jna.library.path is set

后端 未结 6 1541
囚心锁ツ
囚心锁ツ 2020-12-16 19:50

I\'m using the following code to load a dll in JNA (irrelevant code is left out):

    public class JNAMain {
       public interface PointShapeBuffer extends         


        
6条回答
  •  醉梦人生
    2020-12-16 20:14

    it is may be because there is the conflation into the lebweb kit. I am not sure but that has to be that only now u can do one thing try this.

    $ dpkg -l | grep -i jna
    

    try this command and if u getting this output

    ii  libjna-java  3.2.7-4 Dynamic access of native libraries from Java without JNI
    

    or any other output then this u need to remove then that jna from the system because if program itself have jna jar with that then there is no need of system jna for the same. so do something like this.

    sudo apt-get autoremove libjna-java
    

    and try for restart that application again. it will run and it is not running then try to install new version of libwebkit-gtk.

    hope this will help. this helped me.

提交回复
热议问题