writing a java program with Native methods

来源:互联网 发布:js ajax post 参数 编辑:程序博客网 时间:2024/05/08 01:59

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

原创粉丝点击