Liberica JDK includes the timezone data file tzdb.dat which contains information about local time options/properties, including UTC offsets and daylight saving time (DST) changes in different countries. This information is sometimes changed and thus such data in Liberica JDK may become obsolete before a new build of Liberica JDK is released.
IANA (Internet Assigned Numbers Authority) Time Zones provide a database containing data that represents the history of time zone changes for many locations around the globe.
IANAUpdater is the tool that reads timezone data from IANA Time Zone Database and converts it into binary format of the file tzdb.dat used in Liberica JDK.
This page always contains the latest version of the tool, compatible with all the previous versions.
java -jar IANAUpdater.jar [-options]
If no option is provided, the list of available options will be displayed.java -jar IANAUpdater-20230215.jar -t ${JAVA_HOME} -z tzdata2021a.tar.gz
java -jar IANAUpdater-20230215.jar -t ${JAVA_HOME}/jre/lib/tzdb.dat -z tzdata2021a.tar.gz
java -jar IANAUpdater-20230215.jar -t ${JAVA_HOME} -z https://data.iana.org/time-zones/releases/tzdata2021a.tar.gz
java -jar IANAUpdater-20230215.jar -t ${JAVA_HOME} -z tzdata2021a.tar.gz -q
Get guidance on migrating to Liberica JDK