Reputation: 3061
Can anyone give me an example of a Java program which has two native methods declared and defined in C and C++. Actually, I need a procedure as well as the code, so that I can run it and learn from it, thanks.
Upvotes: 0
Views: 118
Reputation: 240948
You can do it with JNI [Java Native Interface]
Linux Environment :-) better one
Upvotes: 4