System restart using JAVA programming Alamgir 11:07 AM Alamgir import java.io.IOException; public class Restart { public static void main(String[] args) throws IOException { Runtime rs=Runtime.getRuntime(); rs.exec("shutdown -r -t 0"); } } Author : Alamgir Share this Related Posts