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.
JNI FAQ A shared stub is a single JNI native method that can dispatch to many C functions. You can download the complete example from here:
- For Windows, download jnistb10.zip (38K)
- For Solaris, download either jnistb10.tar.Z (60K) or jnistb10.tar.gz (27K).
More Information
*As used on this web site, the terms "Java virtual machine" or "JVM" refers to a virtual machine for the Java platform.
Copyright
© 2006 Sun Microsystems, Inc. All
Rights Reserved. Please send comments to: jni@java.sun.com |
|