Wrapping C/C++ inside Java

Posted by Ashwin on Stack Overflow See other posts from Stack Overflow or by Ashwin
Published on 2011-01-12T02:44:44Z Indexed on 2011/01/12 2:53 UTC
Read the original article Hit count: 156

Filed under:
|
|
|

I develop applications/programs in C/C++. I am more versed in these two languages and love being a C++ developer. I am wondering how to create a Java program that contains all my C++ code.

I mean, I would like to wrap all my C++ code (that is already developed) inside Java class. But clueless how to do it.

Please post your responses or methods/steps on integrating C++ inside Java. (using JNI is the way, but I could not figure it out on www how to use it)

FYI, I use Eclipse IDE to develop.

How and what packages should I include in my project workspace?

© Stack Overflow or respective owner

Related posts about java

Related posts about c++