我一直遵循netbeans中的JNI教程,我遇到了以下问题。
请帮我解决这些问题
C:UsersavijapurDocumentsNetBeansProjectsHelloWorld>"C:Program FilesJavajdk1.8.0_101binjavah.exe" -o HelloWorldNative.h -jni -classpath "C:UsersavijapurDocumentsNetBeansProjectsHelloWorldbuildclasseshelloworld"HelloWorld.main"
Error: no classes specified
C:UsersavijapurDocumentsNetBeansProjectsHelloWorld>
您应该在命令行中指定class,如
javah.exe -o HelloWorldNative.h -jni -classpath "C:UsersavijapurDocumentsNetBeansProjectsHelloWorldbuildclasses" helloworld.HelloWorld