出的是这个错误:java.lang.UnsatisfiedLinkError:EDMacSearch

解决方案 »

  1.   

    是吗?我编译没错,也运行出来了,welcome to java
      

  2.   

    我编译也没错,但是执行的时候出了上面的错!
    你没出错吗?什么都没改?
    是自己写的library吗?library里输出的“welcome to java”??
      

  3.   

    public native byte[] EDMacSearch(byte[] srch_txt, byte[] instdir, int bunrui, int db_id, int opt_id, String machine_id, String os_id, int level_id, int spos, int num);
    这是什么,是抽象函数么,但是没有抽象类啊,抽象函数只能在抽象类中啊
      

  4.   

    这个是我要通过jni调用的library的函数,是native函数呀!
      

  5.   

    <applet code="EpSrchUI.class" width=145 height=500>
    </applet>
    我写了个HTML文件
    没有错啊
      

  6.   

    请问楼上这位兄台,那你自己做了一个library是吗?页面上有显示
    native函数的返回结果吗?