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

Android Java NDK/JNI - UnsatisfiedLinkError: Native method not found [...] Ljava/lang/String;

My program is intended to be a simple program that uses the Android NDK to implement some c++ code in …

android android-ndk java-native-interface unsatisfiedlinkerror
Android - How to enable CheckJni for NDK development?

Can someone please tell me if I'm missing something here? I am trying the following commands in shell. $ ./adb shell …

debugging java-native-interface android-ndk native-methods
Exception Access Violation Java?

I'm currently writing a JNI project where I'm getting the following error log when trying to run my Java code. …

java crash jvm java-native-interface crash-dumps
Load Native Library from Class path

I have a project setup that follows the Standard Directory Layout (not using Maven though): src/main | java | resources | library.…

java java-native-interface java.library.path
Loading JNI lib on Mac OS X?

Background So I am attempting to load a jnilib (specifically JOGL) into Java on Mac OS X at runtime. I …

java macos java-native-interface jogl
Tomcat startup fails due to 'java.net.SocketException Invalid argument' on Mac OS X

We have an application that runs on Tomcat 6 (6.0.35.0 to be precise), and most of our engineers on Mac OS are …

tomcat java-native-interface java
Communication between Java Application and C++ Application

I'm trying to write a plugin for a Java Application. The plugin should be able to tell the Java Application …

java c++ java-native-interface kinect com+
Java Native Access doesn't do C++, right?

I've found many references online (including some on stackoverflow) to JNA being used for C++ libraries, but nothing I can …

java java-native-interface native jna
Adding new paths for native libraries at runtime in Java

Is it possible to add a new path for native libraries at runtime ?. (Instead of starting Java with the property …

java java-native-interface native