在工程的bin目录下,输入命令: javah -classpath . -jni 类路径.JNI类 转载于:https://www.cnblogs.com/rvs-2016/p/6185772.html