Hi All,
when using RunTime.exec(), one can specify the working directory of the subprocess (very useful, if the executed app can only be launched from its location as it access some local config files for instance)
If the external app is a jar file, on can read the manifest in the jar to get information about the main class and the classpath and then call invoke() to run the application...
Is there a way to set the working directory there too ? I cannot seem to find a way for doing that? Or do I have to use RunTime.exec() and actually make a call to 'java -jar app.jar'...
thanks in advance for your help David