Runtime.getRuntime().exec(cmd); code example
Example: java runtime.getruntime().exec
Runtime.getRuntime().exec("google-chrome");
//starts google
//enter the name of the program you want to excecute as
//the 1st argument in the function
Runtime.getRuntime().exec("google-chrome");
//starts google
//enter the name of the program you want to excecute as
//the 1st argument in the function