no jniopencv_highgui in java.library.path

Samebug tips1

When installing an APK, it automatically extracts the libraries of the right arch type and has them available for System.loadLibrary. But, if you're trying to load a non-standard library, the installer won't know your app has 32bit native code.


Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web2180

  • via Unknown by Deepak Pal,
  • via Stack Overflow by saaass wwwwwwwwwwwwwddddddd
  • via Unknown by Martín Fernández,
  • Stack trace

    • java.lang.UnsatisfiedLinkError: no jniopencv_highgui in java.library.path at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at com.googlecode.javacpp.Loader.loadLibrary( at com.googlecode.javacpp.Loader.load( at com.googlecode.javacpp.Loader.load( at com.googlecode.javacv.cpp.opencv_highgui.<clinit>( at JavaCv1.main( Caused by: java.lang.UnsatisfiedLinkError: C:\Users\Deepak\AppData\Local\Temp\javacpp4684178345609\jniopencv_highgui.dll: Access is denied at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(Unknown Source) at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.load0(Unknown Source) at java.lang.System.load(Unknown Source) at com.googlecode.javacpp.Loader.loadLibrary( ... 4 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    83 more bugmates