Can I shut down my computer from a java application under Windows 95?
Davanum Srinivas Microsoft has published the following articles:
- Programmatically Force Windows 95 and Windows 98 to Log Off
- Programmatically Restart or Log Off a Computer
Using code from the above articles, you can write an exe and call it from your Java application using Runtime.exec. If you are more adventurous you can wrap the code into a JNI DLL.