Java Native Interface

Documentation Contents
Java Native Interface is a standard programming interface for writing Java native methods and embedding the Java virtual machine into native applications. The primary goal is binary compatibility of native method libraries across all Java virtual machine implementations on a given platform.

The Java 2 SDK extends the Java Native Interface (JNI) to incorporate new features in the Java platform. The changes are driven by licensee and user comments.

The Java 2 SDK still supports the old native method interface (NMI), which was originally implemented in JDK 1.0. The old NMI is not part of the Java platform standard, and will not be supported by the upcoming Java HotSpotTM virtual machine. Programmers are strongly encouraged to migrate their existing NMI code to the JNI.

JNI Enhancements
JNI 1.1 Specification JNI FAQ

Copyright © 1995-99 Sun Microsystems, Inc. All Rights Reserved.

Please send comments to:

Java Software