From owner-freebsd-java@FreeBSD.ORG Tue Apr 12 11:52:16 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1152916A4CE for ; Tue, 12 Apr 2005 11:52:16 +0000 (GMT) Received: from www.enhyper.com (mailgate.enhyper.com [62.49.250.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE2EA43D54 for ; Tue, 12 Apr 2005 11:52:14 +0000 (GMT) (envelope-from iang@iang.org) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by www.enhyper.com (8.11.6/8.11.6) with SMTP id j3CBq8U14968 for ; Tue, 12 Apr 2005 12:52:13 +0100 X-Authentication-Warning: www.enhyper.com: localhost.localdomain [127.0.0.1] didn't use HELO protocol Message-ID: <425BB73C.8080805@iang.org> Date: Tue, 12 Apr 2005 12:55:40 +0100 From: Ian G Organization: http://iang.org/ User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050406) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <425AED7B.2030202@borderware.com> <000901c53f0a$15aa43b0$150110ac@focus> <425B4364.9090505@borderware.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: TimeZone Defaults] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 11:52:16 -0000 Jiawei Ye wrote: > On Apr 12, 2005 11:41 AM, Christy Pang 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/