Java Native Interface (JNI) is a programming framework that allows Java code running in the Java Virtual Machine (JVM) to call and be called by native code (code that is written in languages such as C, C++, and assembly) and to access native libraries. JNI is useful when an application needs to access functionality that is not available in the Java API, or when the application needs to use a specific version of a library that is not compatible with the version of the library that is bundled with the JVM.
JNI provides a way for Java code to call native functions and for native code to call Java methods. It does this by defining a set of rules and conventions that specify how the two types of code can communicate and interact with each other. JNI also provides a set of functions and data types that allow native code to access Java objects and the Java runtime environment.
JNI is a part of the standard Java class library, and it is included with the Java Development Kit (JDK). It is available on all platforms that support the Java runtime, including Android, Linux, macOS, and Windows.
If you are looking for consultation, fill the Contact Form below.
My brain is only a receiver, in the Universe there is a core from which we obtain knowledge, strength and inspiration.
Haluk YAMANER
Founder @ Future Software UAE
Founder @ Future Linux
Click here for more about me »