java调用dll或so库示例

时间:2020-09-20 03:48:39
【文件属性】:
文件名称:java调用dll或so库示例
文件大小:101KB
文件格式:RAR
更新时间:2020-09-20 03:48:39
java c++ dll so jni 完整演示使用JNI开发JAVA和C++交互的例子,本示例提供了在Windows和linux上的编译脚本。请参考JNI的相关文章,如有疑问可留言
【文件预览】:
Java
----clean.bat(129B)
----.settings()
--------org.eclipse.core.resources.prefs(55B)
--------org.eclipse.jdt.core.prefs(598B)
----src()
--------com_test_jni_Java2cpp.h(1KB)
--------com()
----.project(380B)
----TestJNI.dll(30KB)
----create_h.bat(91B)
----.classpath(301B)
----hello.txt(111B)
VC2010
----stdafx.cpp(212B)
----TestJNI.cpp(2KB)
----TestJNI.h(645B)
----stdafx.h(318B)
----TestJNI.vcxproj(5KB)
----dllApi.h(178B)
----dllmain.cpp(389B)
----com_test_jni_Java2cpp.h(1KB)
----targetver.h(236B)
----include()
--------classfile_constants.h(20KB)
--------jni.h(72KB)
--------win32()
--------jdwpTransport.h(6KB)
--------jvmti.h(76KB)
--------jvmticmlr.h(4KB)
--------jawt.h(8KB)
----unix()
--------classfile_constants.h(20KB)
--------jni.h(74KB)
--------jdwpTransport.h(6KB)
--------jvmti.h(78KB)
--------jvmticmlr.h(4KB)
--------linux()
--------jawt.h(9KB)
----clean.bat(197B)
----TestJNI.vcxproj.filters(1KB)
----TestJNI.vcxproj.user(143B)
----TestJNI.sln(880B)
----dllApi.cpp(307B)
----ReadMe.txt(2KB)
clean.bat
mk.sh
run_readfile.bat
create_h.bat
run.sh
clean.sh
run_java2cpp.bat

网友评论

  • 简单 复杂类型不涉及