import java.io.IOException;
public class TestRuntime {
public static void main(String[] args) {
try {
Process pro = Runtime.getRuntime().exec("C://Program Files/Mozilla Firefox/firefox.exe");
pro.waitFor();
} catch (IOException e) {
e.printStackTrace();
} catch (InterruptedException e) {
e.printStackTrace();
}
}
}
public class TestRuntime {
public static void main(String[] args) {
try {
Process pro = Runtime.getRuntime().exec("C://Program Files/Mozilla Firefox/firefox.exe");
pro.waitFor();
} catch (IOException e) {
e.printStackTrace();
} catch (InterruptedException e) {
e.printStackTrace();
}
}
}