Thursday, September 20, 2001 09:10 AM
i wanted to know how i can shutdown my windows or Linux system using java.
Re: Shutting down my system using java
Friday, September 21, 2001 12:46 PM
There is no method in the JDK to do it. On Linux, this should work if the Java process is being run by root: