站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JNI - Java(TM) Native Interface - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java

JavaTM 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 extends 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 Java Development Kit (JDKTM) 1.0. The old NMI is not part of the Java platform standard, and is not supported by the Java HotSpotTM performance engine. 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: jni@java.sun.com
Sun

Java Software