Java

Java Native Interface

JDK 1.2 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.

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

JDK 1.2 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-98 Sun Microsystems, Inc. All Rights Reserved.

Please send comments to: jni@java.sun.com
Sun

Java Software