Remember in Step 1: Write the java Class that you use this method call to load a dynamically loadable library named
hello
into your program at runtime. Now you are ready to create the dynamically loadable library. Use the C compiler to compile the C source code created in the previous steps,System.loadLibrary("hello");
HelloWorld.c
and HelloWorldImp.c
, into a dynamically loadable library named hello
.
No comments:
Post a Comment