1write the java code
2use the java compile the HelloWorld
3use javah -JNI generate HelloWorld header file
4write the implementation of the native method
5compile the native code and load the share library
6run the program using the java interpreter