import java.io.IOException; public class ProcessDemo { public static void main(String[] args) throws IOException { Process p = new ProcessBuilder("notepad.exe").start ...
You can write a simple generic launcher in the following way: public class Launcher{ public static void main(String[] args){ if (args.length>0) { try { Command ...