Sun Microsystems, Inc

JDK Contents

Java Native Interface Tips

Book Available

(6/7/99)You may find answers to many of your questions in the Addison-Wesley Java(TM) Series book:

Java Native Interface: Programmer's Guide and Specification

Order this book through amazon.com

Code examples in the book can be downloaded here.

JNI FAQ for the Java 2 SDK

(3/23/99) Visit the latest JNI FAQ for the Java 2 SDK.

Shared Stubs Example

(3/22/98) A shared stub is a single JNI native method that can dispatch to many C functions. It was presented in the "Java Native Interface Technology Programming" talk at JavaOne'98. You can download the complete example from here: (12/2/99) This example is explained in detail in the above-mentioned JNI book.

FAQ for JDK 1.1

An old FAQ written in Jan 1997 when JDK 1.1 was released. (For more up-to-date information please visit the JNI FAQ for the Java 2 SDK link above.)

Resources on the Net

(12/2/99, DISCLAIMER: We collected these links for your information only. We do not guarantee accuracy of the content in these pages.)
Copyright © 1997 Sun Microsystems, Inc.. All rights reserved.

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