Using Runtime.exec I successfully start a Windows command file. However, inside the command file a java program is launched, and this launch fails with a "file not found" error from the command file to stderr. When the command file is executed directly from a command window it works appropriately (i.e. no failure).
I thought there may be some escoteric interaction between Runtime.exec and the command shell which caused environment updates from the command file to not be preserved inside of the command shell created by Runtime.exec. Anyway any suggestions on what is going on would be appreciated.