
© Copyright IBM Corp. 2006. All rights reserved. 85
Chapter 6. Java Native Interface (JNI)
In this chapter, we describe the Java Native Interface (JNI) that can be used by
Java code to access C or C++ code. And the JNI also works the other way
around, enabling C or C++ code to access Java code, as also described here.
We provide the following information:
An overview of the Java Native Interface (JNI) in 6.1, “Introducing the Java
Native Interface (JNI)” on page 86
A simple example showing how to get started in 6.2, “Getting started with a
JNI application” on page 93
More advanced examples showing show how to call an Assembler Callable
Service ...