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