TZupdater failing with tzdata2016g release

后端 未结 2 1766
慢半拍i
慢半拍i 2021-01-12 01:19

TZUpdater 2.1.0 is failing with tzdata2016g release. For Java 8 it fails with \"Source directory does not contain file: VERSION\" error, while it completes with \"JRE update

相关标签:
2条回答
  • 2021-01-12 01:55

    oneliner for the lazy ones:

     curl https://github.com/anlcan/tzupdate/raw/master/tzupdate.zip -o tzup.zip && unzip tzup.zip && cd tzup && sh run.sh
    

    tzupdate.zip file contains the tzdata2016g.tar.gz, the correct hash tzdata2016g.tar.gz.sha512 and the script with the java tzupdate command. You can find the zip file here: https://github.com/anlcan/tzupdate .

    0 讨论(0)
  • 2021-01-12 02:07

    Workaround:

    • Update Makefile of http://www.iana.org/time-zones/repository/releases/tzdata2016g.tar.gz: Original value of VERSION variable is unknown and you need to update it to 2016g.
    • Regenerate tzdata2016g.tar.gz.sha512 file

    Edit 1: Modified(working) files can be downloaded from tzupdater_2016g_workaround

    Edit 2: Oracle announced the same workaround: http://www.oracle.com/technetwork/java/javase/tzupdater-readme-136440.html#issues. However you still need to create working tzdata2016g.tar.gz and tzdata2016g.tar.gz.sha512 files by yourself. You instead can download the files I prepared. See Edit 1.

    0 讨论(0)
提交回复
热议问题