java 10 generates header files

Flexible work test, essential requirements of the algorithm with c ++, but additional requirements gui.
Written in java gui want to use JNI to call c ++ code generated header files So now however.

method

JAVA10 javah command is not supported, and complains that it can not find instructions that configure the wrong path, to the bin and found no javah.exe.
Check the information does not support javah already know, you can use javac -h instead.

however

$ javac -h ./HelloJNI
错误: 无源文件

But I think right ah usage control

用法: javac <选项> <源文件>

Internet search results command written on ok

$ javac -h . HelloJNI.java

The reason thinking ??????

Guess you like

Origin blog.csdn.net/saber_jk/article/details/92699158