Top "Java-native-interface" questions

The Java Native Interface (JNI) gives both the ability for JVM implementations to run system native code and the ability for native code to run Java code (by creating new JVM instances).

java.lang.UnsatisfiedLinkError: No implementation found for Boolean

I use ".so" files in my project but it give following error "java.lang.UnsatisfiedLinkError: No implementation found for Boolean", …

android java-native-interface unsatisfiedlinkerror
Using jni in Android: UNsatisfiedLinkError

I'm new to jni, and I was going over a tutorial to implement a simple native method, but I'm getting …

android java-native-interface header-files unsatisfiedlinkerror
UnsatisfiedLinkError Android

We have this app that loads native library, and this library provides native methods for us to call. On some …

android java-native-interface native unsatisfiedlinkerror
how to use the JNI to change the fields of a java class

I am using a c native function to change the integer fields of a java class. Basically i want to …

android java-native-interface android-ndk-r7
Invoking JNI functions in Android package name containing underscore

I am trying to implement MP3 encoding in Android using the LAME library following these guides: Lame MP3 Encoder compile …

java android java-native-interface lame
Load .so file from a jar

I made a library in C and I call it from Java with JNI so I have my package and …

java c java-native-interface loadlibrary library-path
How do I use JNI with AAR library?

I am creating an Android library (.aar file) and I need to use JNI. (I am very well aware of …

android android-ndk java-native-interface aar
Unable to load PKCS11 driver using IAIK PKCS11 Wrapper

I'm using the following: Windows 7 64bit JDK 7 64bit JRE 7 64bit The new funny JRE 7 64bit doesn't support Sun PKCS11 anymore (…

java java-native-interface pki pkcs#11 iaik-jce
SurfaceView and ANativeWindow

I have a question regarding creation of a SurfaceView and subsequently getting a ANativeWindow from it. Is it proper to …

android java-native-interface surfaceview nativewindow
`std::vector` throws a "bad allocation" exception when resized

I have the following code in a C++ dll, which I invoke through JNI: std::vector<double> myVector; …

c++ java-native-interface stdvector bad-alloc