Java API to Shutdown and to restart the System

Hi Guys,Can anyone tell me how to shutdown or restart the system using Java API. Is there any api or is Sun providing any Native api for this ?If you know, kindly please let me know.
[196 byte] By [DebadattaMishraa] at [2007-11-26 14:49:10]
# 1
No, you will have to write one your self. This (native interaction) is not really the right place for Java.
mlka at 2007-7-8 8:37:04 > top of Java-index,Java Essentials,New To Java...