Java

Java Native Interface

Documentation Contents
JavaTM Native Interface (JNI) is a standard programming interface for writing Java native methods and embedding the JavaTM 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 supports the old native method interface (NMI) only when using the classic virtual machine. NMI was originally implemented in Java Development Kit (JDKTM) 1.0. The old NMI is not part of the Java platform standard, and programmers are strongly encouraged to migrate their existing NMI code to the JNI.

JNI Enhancements
JNI 1.1 Specification Other Information

*As used on this web site, the terms "Java virtual machine" or "JVM" mean a virtual machine for the Java platform.


Copyright © 2003 Sun Microsystems, Inc. All Rights Reserved.

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



Spec-Zone.ru - all specs in one place