K
Knute Johnson
I'm trying to write a C wrapper to run a Java program. I need to
distribute a CD with the Java runtime, my application and a C startup
program. I've put the C wrapper program, my java app and the runtime
directories in the same directory. It will run under MS XP or maybe
Vista. I'm using MS Visual C++ Express 2005 for a compiler and I tried
using the _execl and _spawnl functions. These all give me assertion
errors and file not found errors. There is some issue with the path.
Do _execl() and _spawnl() need absolute paths to the files? Any ideas
or directions would be greatly appreciated.
Thanks,
distribute a CD with the Java runtime, my application and a C startup
program. I've put the C wrapper program, my java app and the runtime
directories in the same directory. It will run under MS XP or maybe
Vista. I'm using MS Visual C++ Express 2005 for a compiler and I tried
using the _execl and _spawnl functions. These all give me assertion
errors and file not found errors. There is some issue with the path.
Do _execl() and _spawnl() need absolute paths to the files? Any ideas
or directions would be greatly appreciated.
Thanks,