TimeZone Defaults]
Ian G
iang at iang.org
Tue Apr 12 04:52:16 PDT 2005
Jiawei Ye wrote:
> On Apr 12, 2005 11:41 AM, Christy Pang <christy at borderware.com> wrote:
>
>>YES!!! But why copy over America/Toronto does not work?
>>
>>Thanks
>>Chriwty
>>
>
> JDK/JRE do not behave well when required files are symlinks. I was
> bitten badly by font.properties and now it's TZ files. Is this a known
> problem or desired behaviour for JDK/JRE underlying files to be real
> path?
For me, it isn't a symlink issue.
The /etc/localtime file is set to something approximately
regional and date(1) recognises that as seen by its picking
up summer time.
iang
localhost$ cd /etc
localhost$ ls -la localtime
-r--r--r-- 1 root wheel 1323 Dec 15 02:52 localtime
localhost$ ls -latr localtime
-r--r--r-- 1 root wheel 1323 Dec 15 02:52 localtime
localhost$ date
Tue Apr 12 12:48:52 BST 2005
localhost$ ls -latr localtime
-r--r--r-- 1 root wheel 1323 Dec 15 02:52 localtime
localhost$ md5 localtime
MD5 (localtime) = 4c9f9c5c5f86bcc5465c08831ef59e75
localhost$ md5 /usr/share/zoneinfo/*/* | grep 4c9f9c5c5f86bcc5465c08831ef59e75
MD5 (/usr/share/zoneinfo/Europe/London) = 4c9f9c5c5f86bcc5465c08831ef59e75
localhost$
...
$ java -cp . tztest
Greenwich Mean Time
--
News and views on what matters in finance+crypto:
http://financialcryptography.com/
More information about the freebsd-java
mailing list