From owner-freebsd-java@FreeBSD.ORG Mon Apr 11 21:34:49 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 ABB9A16A4CE for ; Mon, 11 Apr 2005 21:34:49 +0000 (GMT) Received: from mail.borderware.com (mail.borderware.com [207.236.65.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFDDD43D58 for ; Mon, 11 Apr 2005 21:34:48 +0000 (GMT) (envelope-from christy@borderware.com) Message-ID: <425AED7B.2030202@borderware.com> Date: Mon, 11 Apr 2005 17:34:51 -0400 From: Christy Pang User-Agent: Mozilla Thunderbird 0.6 (Macintosh/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: [Fwd: 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: Mon, 11 Apr 2005 21:34:49 -0000 -------- Original Message -------- Subject: Re: TimeZone Defaults Date: Mon, 11 Apr 2005 15:05:44 -0400 From: Christy Pang To: Kurt Miller References: <425AA4DA.8070103@borderware.com> <425AB46B.5040602@iang.org> <012401c53ec1$c164b4e0$150110ac@focus> Kurt Miller wrote: > Is /etc/localtime a symlink? If it is, try copying the tz file > to /etc/localtime instead. It was a symlink. Our /etc file system is a read only file system. But even copy the TZ file to /etc/localtime md5 /etc/localtime MD5 (/etc/localtime) = 370687bb78b74fc4540f6a316d8bca02 root@sip-tey 2:24pm # md5 /usr/share/zoneinfo/America/Toronto MD5 (/usr/share/zoneinfo/America/Toronto) = 370687bb78b74fc4540f6a316d8bca02 the result is still wrong, should be *GMT-04:00* $JAVA_HOME/bin/java tztest tz = GMT+04:00 Christy > > From: "Ian G" > >> Christy Pang wrote: >> >>> > date >>> Tue Nov 11 22:22:55 MST 2003 >>> > java tztest >>> Mountain Standard Time >> >> >> >> I see the same result, doesn't pick up the timezone, except mine prints: >> >> >> $ java -cp . tztest >> Greenwich Mean Time >> >> $ java -version >> java version "1.4.2-p6" >> Java(TM) 2 Runtime Environment, Standard Edition (build >> 1.4.2-p6-toor_17_dec_2004_01_31) >> Java HotSpot(TM) Client VM (build 1.4.2-p6-toor_17_dec_2004_01_31, >> mixed mode) >> >> $ uname -a >> FreeBSD localhost 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 >> 04:19:18 UTC 2004 >> root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >> >> -- >> News and views on what matters in finance+crypto: >> http://financialcryptography.com/ >> _______________________________________________ >> freebsd-java@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-java >> To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"