Previous | Next | Trail Map | Using the JNI to Integrate Native Code and Java Programs | Step By Step


Step 2: Compile the Java Code

Use the Java compiler to compile the Java class that you created in the previous step. At this time, you should also compile the main Java application that you wrote to test the native method.


Previous | Next | Trail Map | Using the JNI to Integrate Native Code and Java Programs | Step By Step