Native Interface

Introduction to JNI- Java Native Interface

Reading Time: 2 minutes The Java Native Interface (JNI) is a native programming interface in JDK. It is used to call C/C++ libraries from the libraries written in Java and vice-versa. This is a java API which bridges the gap between C/C++ and Java. Why do we use Java Native Interface(JNI)? JNI calls are used when we already have a library which is written in C/C++ language and we Continue Reading