where is TimeZone bits

Seán Coffey sean.coffey at oracle.com
Tue Mar 4 01:13:50 UTC 2014


JDK 8 does continue to ship with tzdata info built into it. The 
structure changed significantly with the introduction of JSR 310. The 
lib/zi directory has been replaced with one lib/tzdb.dat file which 
contains the tzdata rules in compiled format.

You can always add the latest tzdata to the jdk/make/data/tzdata/ 
directory and rebuild for latest rules.

regards,
Sean.

On 03/03/14 15:36, Martin Buchholz wrote:
> A difference between IcedTea and Oracle JDK.  E.g.
> http://icedtea.classpath.org/wiki/IcedTea_JDK6_Patches
>
> use-system-tzdata Use timezone data from the system .
>
> $ ./configure --help
>    --with-tzdata-dir[=DIR] set the Java timezone data directory
>                            [DIR=/usr/share/javazi]
>
>
>
> On Mon, Mar 3, 2014 at 2:41 PM, Medi Montaseri <medi.montaseri at hds.com>wrote:
>
>> Hi,
>>
>> Not sure if this is the correct forum....
>> I have installed openJDK8 on a Debian linux. I was comparing my new JRE
>> with an older version (openjdk6) and I see that I don't have bunch of
>> timezone files.
>>
>> Here is the old one
>>
>> ./jre/lib/zi/CST6CDT
>> ./jre/lib/zi/SystemV/
>> ./jre/lib/zi/SystemV/PST8PDT
>> ./jre/lib/zi/SystemV/AST4
>> etc, etc
>>
>> I read something about Sun no longer including tzupdator and timezone
>> files....what is OpenJDK's position on this issue? If openjdk8 does not
>> include TimeZone, how do I incorporate them into my JRE and JDK? Is there
>> another upstream maintainer of TZs?
>>
>> thanks
>> Medi
>>
>>




More information about the build-dev mailing list