Setting system clock

It probably is a daft question - but please can anyone tell how to setsystem date using the java api. By setting system date I mean thecomputer's clock.Thank you.
[191 byte] By [Hernan-Rojasa] at [2007-11-26 20:01:24]
# 1
Java does not have a method for that. You need to access the os commands for that, either via JNI or the Runtime or ProcessBuilder classes. This will make the application non-portable.
ChuckBinga at 2007-7-9 22:59:54 > top of Java-index,Desktop,Developing for the Desktop...
# 2
Thank you for your advices. But, what option do you think is the more appropitate? what should be the easiest? and last, do you have some url or example file?
Hernan-Rojasa at 2007-7-9 22:59:54 > top of Java-index,Desktop,Developing for the Desktop...
# 3
Take your pick; the answers will vary by what os, precision desired, etc. http://www.google.com/search?q=set+system+clock+from+java
ChuckBinga at 2007-7-9 22:59:54 > top of Java-index,Desktop,Developing for the Desktop...