Using javah -jni with an Eclipse project structure

假装没事ソ 提交于 2019-12-06 01:32:09

The problem is that javah generates the header file on the directory that the command was executaded (which you specified the bin folder). It makes sense to generate all headers in the same folder because usually c/c++ project put all of headers in the same folder.

However, if you want specific folders, the following command generate the headers in the specific src folder.

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