Java applet - Connection with OS
I wrote some Java code to get the date and time via a NTP server.
I get the correct date/time from the server and store it in a variable.
Now I woudl like to pass the value to the 'date' command on the OS (Suse Linux), using JNI.
Two problems:
- How do I get the program to have root access to the 'date' command to change the date and time ?
- How do I execute the 'date' command from within Java ?
Thanks,
J.M.

