Start of Tutorial > Start of Trail |
Search
Feedback Form |
Overview of the JNI
Writing a Java Program with Native Methods
- Step 1: Write the Java Code
- Step 2: Compile the Java Code
- Step 3: Create the .h File
- Step 4: Write the Native Method Implementation
- Step 5: Create a Shared Library
- Step 6: Run the Program
Integrating Java and Native Programs
- Declaring Native Methods
- Mapping Between Java and Native Types
Interacting with Java from the Native Side
- Accessing Java Strings in Native Methods
- Working With Java Arrays in Native Methods
- Calling Java Methods
- Accessing Java Member Variables
- Handling Java Errors from Native Methods
- Local and Global References
- Threads and Native Methods
- JNI Programming in C++
Invoking the Java Virtual Machine
- Invoking the Java Virtual Machine
Summary of the JNI
Start of Tutorial > Start of Trail |
Search
Feedback Form |
Copyright 1995-2001 Sun Microsystems, Inc. All rights reserved.