Hi,
I need to execute a jar command from the java program. And also need, that jar command must execute in the place (path like "C:/Sample/ jar..") where specified. current i am using
In Windows,
String cmd = "cmd /c jar uf " + instalationPath + jarName + " " + param ;
Runtime.getRuntime().exec(cmd);
But, i am not able to use the same command for Linux, Solaris and Macintosh, please help to resolve this issue.
Any equivalent command are available?.Kindly Help Me.