I had blogged about this previously, but I didn't make it simple enough even for myself, so this is a do-over.
Find your timezone specific file in /usr/share/zoneinfo/America/.
Then run the following three commands:
$ cd /etc
$ mv localtime localtime_orig
$ ln -s /usr/share/zoneinfo/America/tzfilename localtime
$ mv localtime localtime_orig
$ ln -s /usr/share/zoneinfo/America/tzfilename localtime
Reboot and you're set. Now java defaults to this timezone.
No comments:
Post a Comment