I need to execute a jar file from inside of some C++ code.
jar
i tried this following command
int ret = execlp(\"java\", \"java\", \"-jar\", \"m
The normal way to solve this problem is to fork() and then exec() from the newly spawned process.