How to Create C header file using Javah tool

南楼画角 提交于 2019-12-05 10:47:31

Javah should be in the bin folder of your JDK

Something like this:

C:\Program Files\Java\jdk1.6.0_19\bin

For simplicities sake take the path name folder from the bin directory in your Android project and place it in the above directory.

Then use the command prompt

javah -jni com.pathname.ClassName

And the header file will be created in the JDK bin folder

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!