It should be noted that for versions earlier than java 9, we should use the javah tool instead of javac -h command: javac -h. cpp files respectively.įirst, to create the definition of the method, we have to use the -h flag of the Java compiler. Within C++ the definition and the implementation are usually stored in. Now, we need to create the implementation of our native method in C++.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |