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]
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.
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?