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).

JNI ERROR (app bug): local reference table overflow (max=512)

I am trying to run the LibSVMAndroidClassification Android project with my own dataset. It works perfectly fine with the dataset …

android c++ android-ndk java-native-interface libsvm
Multiple directories in -Djava.library.path

How can I point to two differents java.library.path in eclipse project - run configurations? I need these two …

java jvm java-native-interface jvm-arguments java.library.path
Why Apache Kafka Streams uses RocksDB and if how is it possible to change it?

During investigation within new features in Apache Kafka 0.9 and 0.10, we had used KStreams and KTables. There is an interesting fact …

java-native-interface in-memory-database key-value-store rocksdb apache-kafka-streams
Generating header file with JNI using 'javah'

I'm trying to use JNI for an Android application using the OpenCV4Android library. I can generate a header file …

java android opencv java-native-interface javah
How to pass a complex structure between C and Java with JNI on Android NDK

I have a complex strucutre in the C code on my Android application and I would like to use it …

java c android-ndk java-native-interface share
How to play video using FFMPEG library in Android?

I was able to build ffmpeg library by using rock player build script. Now I have this .so file, how …

android video ffmpeg java-native-interface frame
Trim video Like whatsapp

I have seen unique feature in whatsapp messenger.In which before sending video application allow user to select frames and …

android video java-native-interface video-editing
Pass, return and convert to vectors list of lists over JNI

I need to pass from Java List< List<MyPoint> > points; over jni to C++ and convert …

java c++ list java-native-interface stdvector
Shared memory between C++ and Java processes

My aim is to pass data from a C++ process to a Java process and then to receive a result …

java c++ java-native-interface shared-memory
JNI Calls different in C vs C++?

So i have the following code in C that utilizes Java Native Interface however i would like to convert this …

java c++ c java-native-interface