Posted By:
Sergey_Opanasets
Posted On:
Friday, November 16, 2001 08:39 AM
I do not think that it has something to do with native methods, since you are calling application(exe, cmd or bat, or some script on unix). The only problem that could be is lack of permissions to execute application. Check permissions.
I remember that this code was executed a year ago on Fast Track 4.0 or 4.1 without problems. agentName is the name of application you want to start. If the problems are permissions, you should get SecurityException, otherwise, check command line, or try to use absolute path like ("c:command.com") instead relative.
Runtime runtime = Runtime.getRuntime();
try {
Process proc = runtime.exec(agentName);
} catch (IOException ie){
}
Hope it will help.