FW: problem with java tz database

Olson, Arthur David (NIH/NCI) [E] olsona at dc37a.nci.nih.gov
Mon Jan 25 18:17:46 UTC 2010

I'm (very belatedly, for which I apologize) forwarding this message from Mamun Shaheed, who is not on the time zone mailing list.
Those of you who are on the list, please direct replies appropriately.


From: Mamun Shaheed [mailto:mamun.shaheed at gmail.com] 
Sent: Thursday, December 31, 2009 1:13
To: tz at lecserver.nci.nih.gov
Subject: problem with java tz database

Dear all,
I was trying to modify the tzdatabase ($JRE_HOME/lib/zi/*) for JRE, but could not make it sucess. Here is what I have done so far...
    1. Downloaded the code and latest tzdata from ftp://elsie.nci.nih.gov/pub/.
    2. Modified the asia file and insert my rule there.
    3. compile the file with zic.
    4. copy the compiled file and put in in $JRE_HOME/lib/zi/Asia/ of my windows pcs
    5. run the DSTTest file available in sun.com to check the time zone and got following error
C:\Program Files\Java\jre1.5.0_06\bin>java DSTTest "12/30/2009 1:00 AM"
ZoneInfo: wrong magic number: Asia/Dhaka
ZoneInfo: wrong magic number: Asia/Dhaka
JRE version : 1.5.0_06
Wed Dec 30 01:00:00 GMT 2009
TimeZone tested : Greenwich Mean Time
Your tested time is not in daylight-savings time.
C:\Program Files\Java\jre1.5.0_06\bin>
Please help me.

More information about the tz mailing list