and i test it and is working
- Code: Select all
import java.io.IOException;
public class Shutdown {
public String name() {
return "Shutdown Windows From PS3";
}
public static void main(String[] args) throws InterruptedException {
Runtime runtime = Runtime.getRuntime();
try {
Process process = runtime.exec("Shutdown -r -t 00");
} catch (IOException e) {
e.printStackTrace();
}
}
}
you can probe Copy and Past the code to Notepad
save as Shutdown.Java
Go to CMD Run Javac Shutdown.Java
Next Run java Shutdown and yout pc is goin down
how can integrate like a pluing on the PS3MEdia Server?



