I've written a Java application (my first ) that connects to an Internet time server (NIST) and then calculates the correct offset for synchronizing the current machine's system clock. However, I cannot see a means in the JDK docs for actually altering a machine's system clock settings.

Is there such a way?

Thanks.