Runtime r = Runtime.getRuntime();
String s = "F:\\apache-tomcat-7.0.39\\bin\\";
Process p1 = r.exec("cmd /c start " + s + "\\startup.bat run ", null, new File(s));
String s = "F:\\apache-tomcat-7.0.39\\bin\\";
Process p1 = r.exec("cmd /c start " + s + "\\startup.bat run ", null, new File(s));