N
No Such Luck
Hi All:
I have a problem, and was wondering if anyone could provide any
insight.
I have a compiled binary application, which makes calls to other
compiled sub-binaries applications. The binary is able to locate these
sub-binaries, because their locations are present in the current
windows system path (i.e., c:\windows\system32\, etc). The binary works
fine when run by itself.
However, when this binary is called as a child process in java, the
calls to the sub-binaries subsequently fail, because java does not seem
to acknowledge the windows system path. Short of recompiling the binary
with absolute paths to the sub-binaries (not an option), what can I do
do get Java to recognize the locations of the sub-binaries?
Thanks for any help.
P.S. I'm running Java 5.1, update 1 on XP.
I have a problem, and was wondering if anyone could provide any
insight.
I have a compiled binary application, which makes calls to other
compiled sub-binaries applications. The binary is able to locate these
sub-binaries, because their locations are present in the current
windows system path (i.e., c:\windows\system32\, etc). The binary works
fine when run by itself.
However, when this binary is called as a child process in java, the
calls to the sub-binaries subsequently fail, because java does not seem
to acknowledge the windows system path. Short of recompiling the binary
with absolute paths to the sub-binaries (not an option), what can I do
do get Java to recognize the locations of the sub-binaries?
Thanks for any help.
P.S. I'm running Java 5.1, update 1 on XP.