Thursday, 15 March 2012

java - How do I update the timezone information for the OpenJDK? -


How do I update timezone information for OpenJDK? Oracle keeps the tejpator out, but it is bound by its license, so I do not want to use it. I am looking for an open source option which will allow me to update the information over time and not the whole JR.

Azul recently published an open source tool for updating Tzid data:

It works like Oracle Tazepadet, but has an open source license (GPLv2 license).

Usage: This IANA data package uses Java which you want to update:

  $ JAVA_HOME / bin / java -jar ziupdater.jar -l file : // [path] /tzdata.tar.gz  

With this command, you will apply the changes to the timezone in your Java installation.


What does this mean?

Consider the following situation: You established Java a year ago and later the government of some country changed its law, such as canceled DST your Java installation not yet Knows and can handle time for that special area in a wrong way. Timezone fixes updating data.


No comments:

Post a Comment