Zkuste toto v počítači se systémem Windows:
START
Process process = Runtime.getRuntime().exec("net START MySQL");
STOP
Process process = Runtime.getRuntime().exec("net STOP MySQL");
Zkuste toto v počítači se systémem Windows:
START
Process process = Runtime.getRuntime().exec("net START MySQL");
STOP
Process process = Runtime.getRuntime().exec("net STOP MySQL");