Gremlin
September 18th, 2000, 02:51 PM
Is there a non platform specific way to call a java program from a java program. The code below works for win98 but not for Linux.
(jdk is the path of the JDK typed in by the user)
try
{
Process ps = Runtime.getRuntime().exec(jdk+fileSep+"javaw -jar Calculator.jar");
}
catch (Exception err) {}
(jdk is the path of the JDK typed in by the user)
try
{
Process ps = Runtime.getRuntime().exec(jdk+fileSep+"javaw -jar Calculator.jar");
}
catch (Exception err) {}