Hi,
I want to compile legacy source code in C++ with Java. I would like to call java from C++. Can you point me to any documentation or know how? I will be using the java 1.6.x standard edition.
Thx
Franklyn
Printable View
Hi,
I want to compile legacy source code in C++ with Java. I would like to call java from C++. Can you point me to any documentation or know how? I will be using the java 1.6.x standard edition.
Thx
Franklyn
You're looking for the Java Native Interface (JNI).
This works both ways. It lets you wrap c code in Java classes and lets you invoke the JVM to let you use Java code in a c program.
Hope this helps.