Skip to content

Opening book details…

Can I read JNI: Integrating Java with C/C++ on EtoBox?

JNI: Integrating Java with C/C++ by Malathi Ramasamy is a document available to read on EtoBox.

What is JNI: Integrating Java with C/C++ about?

The document discusses Java Native Interface (JNI) which allows Java code to interoperate with code written in other languages like C and C++. It provides examples of embedding C code in Java by declaring a native method, generating headers using javah, implementing the method in C, and compiling it into a shared library. It also describes how to access Java types from C code using JNI functions, including primitive types, strings, arrays, and calling methods. Issues around garbage collection and threads wh

Author
Malathi Ramasamy
Language
EN