This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
In case of windows98 u can use " c:\windows\rundll32.exe C:\windows\system\shell32.dll,SHExitWindowsEx 1" in runtime.exec(),but I don't know for NT.Try out with this option. Happy middling with java. : Netharam. :