Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

multiple C++ files

843829Apr 18 2007 — edited Apr 18 2007
Hi,

I've been playing with JNI a bit, and i couldnt find information on the following issue:

I want to run C++ functions from different .cpp files from my java class. I've played around with one .cpp file, and am wondering how to use more. Can I do it through one .cpp file thats been adapted to work with Java, and through it call other c++ files "normally", without changing them, or do i have to write them JNI- style as well?

Hope i made myself clear,
tips appreciated.
Yotam.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 16 2007
Added on Apr 18 2007
1 comment
123 views