Java, JNI and C++: How do I generate a header file from native method declarations? -
java, jni , c++: how generate header file native method declarations?
i have java project, communicates c++ code through jni. challenge need add new methods. first started declaring native methods in java code. need regenerate header file jni methods. work in eclipse, not sure how this.
i used using command line.
go source file directory.
javac filename.java
generatefilename.class
file.javah filename
generatefilename.h
file.
Comments
Post a Comment