摘要: 步骤:1. HelloWorld.java2.HelloWorld.class3.HelloWorld.h4.HelloWorld.c5.libHelloWorld.sojava HelloWorld 即可!!编译共享库命令如下:gcc -o libHelloWorld.so -O2 -fPIC -shared HelloWorld.c -I /usr/lib/jvm/java-6-openjdk/include 阅读全文
posted @ 2013-01-12 22:23 张兰云 阅读(173) 评论(0) 推荐(0) 编辑