Is there a way to delay a windows shutdown with Java? I always have the problem, that the system is killing the JVM before my ShutdownHook ran through completely.
Annotation: I have to perform action on a remote server when the system shuts down. This taked a while and I dont have the possibility to change the servers behaviour.