Previous | Next | Trail Map | Using the JNI | Compiling and Running a Java Program with a Native Method

Step 2: Compile the Java Code

Use the Java compiler to compile the class that you created in the previous step. Here's the command to use:
javac HelloWorld.java


Previous | Next | Trail Map | Using the JNI | Compiling and Running a Java Program with a Native Method