I need to execute a jar file from inside of some C++ code. The jar file reads in some data from a text file, and then writes out some information into a different text file.
I thought
(void)system("filename.jar");
would do it, but it doesn't seem to.