Java Native Interface (JNI)

GPTKB entity

Statements (36)
Predicate Object
gptkbp:instanceOf gptkb:software
gptkbp:abbreviation gptkb:JNI
gptkbp:allows calling Java code from native code
calling C code from Java
calling C++ code from Java
gptkbp:API native interface
gptkbp:category Java platform technologies
gptkbp:developedBy gptkb:Sun_Microsystems
gptkbp:documentation https://docs.oracle.com/en/java/javase/17/docs/specs/jni/index.html
gptkbp:enables performance optimizations
integration with platform-specific features
use of legacy native libraries
gptkbp:fileExtension .so
.h
.dll
.jnilib
https://www.w3.org/2000/01/rdf-schema#label Java Native Interface (JNI)
gptkbp:introducedIn gptkb:JDK_1.1
gptkbp:language English
gptkbp:partOf gptkb:Java_Virtual_Machine
gptkbp:purpose enables Java code to interact with native applications and libraries
gptkbp:relatedTo gptkb:Java_Virtual_Machine
gptkb:Java_Virtual_Machine_(JVM)
gptkb:Java_Native_Access_(JNA)
gptkbp:specifies native method interface
thread synchronization between Java and native code
data type conversions
exception handling between Java and native code
memory management rules
gptkbp:standardizedBy gptkb:Java_Community_Process
gptkbp:usedFor accessing hardware devices
accessing system resources
interfacing with non-Java libraries
gptkbp:usedIn gptkb:Java_programming_language
gptkbp:bfsParent gptkb:JDK_1.1
gptkbp:bfsLayer 5