Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2005 12:55:40 +0100
From:      Ian G <iang@iang.org>
To:        freebsd-java@freebsd.org
Subject:   Re: TimeZone Defaults]
Message-ID:  <425BB73C.8080805@iang.org>
In-Reply-To: <c21e92e2050411205915fca68d@mail.gmail.com>
References:  <425AED7B.2030202@borderware.com> <000901c53f0a$15aa43b0$150110ac@focus>	 <425B4364.9090505@borderware.com> <c21e92e2050411205915fca68d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jiawei Ye wrote:
> On Apr 12, 2005 11:41 AM, Christy Pang <christy@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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?425BB73C.8080805>