I am trying to execute jar files from another Java program. I am using the following code :
try { Runtime runtime = Runtime.getRuntime();
You can run a jar file from where ever you want by using only this one line code.
Desktop.getDesktop().open(new File("D:/FormsDesktop.jar"));
where
new File("your path to jar")
Hope it helps.
Thanks.