Java Native Interface (JNI)
E937654
Java Native Interface (JNI) is a programming framework that allows Java code running in a JVM to call and be called by native applications and libraries written in languages like C and C++.
Observed surface forms (4)
| Surface form | Occurrences |
|---|---|
| Java Native Interface | 3 |
| JNI | 1 |
| JNI (Java Native Interface) | 1 |
| JNI specification | 1 |
Statements (51)
| Predicate | Object |
|---|---|
| instanceOf |
Java technology
ⓘ
foreign function interface ⓘ programming framework ⓘ |
| abbreviation | JNI ⓘ |
| allows |
Java code to call native code
ⓘ
native code to call Java code ⓘ |
| associatedWith |
Java Native Access
NERFINISHED
ⓘ
Java Virtual Machine Tool Interface NERFINISHED ⓘ |
| developedBy | Sun Microsystems NERFINISHED ⓘ |
| documentationURL | https://docs.oracle.com/javase/8/docs/technotes/guides/jni/ ⓘ |
| fullName | Java Native Interface NERFINISHED ⓘ |
| hasComponent |
invocation interface
ⓘ
native method interface ⓘ |
| hasLimitation |
increased complexity and error-proneness
ⓘ
manual memory management in native code ⓘ reduced portability due to native code ⓘ |
| introducedInVersion | JDK 1.1 NERFINISHED ⓘ |
| maintainedBy | Oracle Corporation NERFINISHED ⓘ |
| partOf |
Java Platform
NERFINISHED
ⓘ
Java SE NERFINISHED ⓘ |
| primaryLanguage | Java NERFINISHED ⓘ |
| provides |
APIs for working with Java arrays in native code
ⓘ
APIs for working with Java classes and methods in native code ⓘ APIs for working with Java strings in native code ⓘ JNI function table ⓘ JNIEnv interface ⓘ JavaVM interface NERFINISHED ⓘ mechanism to load native libraries ⓘ mechanism to register native methods ⓘ type mappings between Java and native types ⓘ |
| requires |
native code compilation
ⓘ
platform-specific native libraries ⓘ |
| runsWith | Java Virtual Machine NERFINISHED ⓘ |
| standardizedIn | Java SE specification NERFINISHED ⓘ |
| supports |
accessing Java fields from native code
ⓘ
accessing native system APIs ⓘ calling native libraries ⓘ catching Java exceptions in native code ⓘ creating Java objects from native code ⓘ invoking Java methods from native code ⓘ multithreading interaction between Java and native code ⓘ throwing Java exceptions from native code ⓘ |
| usedBy |
Java applications
ⓘ
Java frameworks ⓘ Java virtual machine implementations ⓘ |
| usedFor |
accessing platform-specific features
ⓘ
integrating existing C and C++ libraries with Java ⓘ interfacing with legacy native code ⓘ performance-critical native optimizations ⓘ |
| usesLanguage |
C
ⓘ
C++ ⓘ |
Referenced by (7)
Full triples — surface form annotated when it differs from this entity's canonical label.
this entity surface form:
JNI specification
this entity surface form:
Java Native Interface
this entity surface form:
Java Native Interface
this entity surface form:
JNI (Java Native Interface)