TZupdater failing with tzdata2016g release












9















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 updated to version : tzdataunknown" comment for Java 7.



The reason of this seems to be recent change of IANA tzdata distribution: Unsetting VERSION field of Makefile. There is a bug reported regarding the issue: https://bugs.openjdk.java.net/browse/JDK-8166928.



DST date(30th October 2016) is getting closer and we at least need a workaround for this. Is it, somehow, possible?










share|improve this question





























    9















    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 updated to version : tzdataunknown" comment for Java 7.



    The reason of this seems to be recent change of IANA tzdata distribution: Unsetting VERSION field of Makefile. There is a bug reported regarding the issue: https://bugs.openjdk.java.net/browse/JDK-8166928.



    DST date(30th October 2016) is getting closer and we at least need a workaround for this. Is it, somehow, possible?










    share|improve this question



























      9












      9








      9


      1






      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 updated to version : tzdataunknown" comment for Java 7.



      The reason of this seems to be recent change of IANA tzdata distribution: Unsetting VERSION field of Makefile. There is a bug reported regarding the issue: https://bugs.openjdk.java.net/browse/JDK-8166928.



      DST date(30th October 2016) is getting closer and we at least need a workaround for this. Is it, somehow, possible?










      share|improve this question
















      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 updated to version : tzdataunknown" comment for Java 7.



      The reason of this seems to be recent change of IANA tzdata distribution: Unsetting VERSION field of Makefile. There is a bug reported regarding the issue: https://bugs.openjdk.java.net/browse/JDK-8166928.



      DST date(30th October 2016) is getting closer and we at least need a workaround for this. Is it, somehow, possible?







      java timezone java-time timezone-offset






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 3 '16 at 19:28









      Basil Bourque

      111k27380542




      111k27380542










      asked Oct 3 '16 at 13:29









      Ali Sadik KumlaliAli Sadik Kumlali

      346311




      346311
























          2 Answers
          2






          active

          oldest

          votes


















          14














          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.






          share|improve this answer


























          • I have done this workaround for tzdata2016h. But tzupdater would complain about JRE has later version (tzdataunknown) than the tzupdater provided one (tzdata2016h) So i forced update using -f option which worked fine.

            – Kadir
            Oct 27 '16 at 10:38





















          8














          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 .






          share|improve this answer





















          • 2





            Please use English on StackOverflow. Also, your answer is just to download some zip file you made and blindly run it? That's not a very safe practice, and not a good descriptive answer for StackOverflow.

            – Matt Johnson
            Nov 9 '16 at 22:33











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f39832866%2ftzupdater-failing-with-tzdata2016g-release%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          14














          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.






          share|improve this answer


























          • I have done this workaround for tzdata2016h. But tzupdater would complain about JRE has later version (tzdataunknown) than the tzupdater provided one (tzdata2016h) So i forced update using -f option which worked fine.

            – Kadir
            Oct 27 '16 at 10:38


















          14














          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.






          share|improve this answer


























          • I have done this workaround for tzdata2016h. But tzupdater would complain about JRE has later version (tzdataunknown) than the tzupdater provided one (tzdata2016h) So i forced update using -f option which worked fine.

            – Kadir
            Oct 27 '16 at 10:38
















          14












          14








          14







          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.






          share|improve this answer















          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.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Oct 7 '16 at 6:37

























          answered Oct 3 '16 at 13:32









          Ali Sadik KumlaliAli Sadik Kumlali

          346311




          346311













          • I have done this workaround for tzdata2016h. But tzupdater would complain about JRE has later version (tzdataunknown) than the tzupdater provided one (tzdata2016h) So i forced update using -f option which worked fine.

            – Kadir
            Oct 27 '16 at 10:38





















          • I have done this workaround for tzdata2016h. But tzupdater would complain about JRE has later version (tzdataunknown) than the tzupdater provided one (tzdata2016h) So i forced update using -f option which worked fine.

            – Kadir
            Oct 27 '16 at 10:38



















          I have done this workaround for tzdata2016h. But tzupdater would complain about JRE has later version (tzdataunknown) than the tzupdater provided one (tzdata2016h) So i forced update using -f option which worked fine.

          – Kadir
          Oct 27 '16 at 10:38







          I have done this workaround for tzdata2016h. But tzupdater would complain about JRE has later version (tzdataunknown) than the tzupdater provided one (tzdata2016h) So i forced update using -f option which worked fine.

          – Kadir
          Oct 27 '16 at 10:38















          8














          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 .






          share|improve this answer





















          • 2





            Please use English on StackOverflow. Also, your answer is just to download some zip file you made and blindly run it? That's not a very safe practice, and not a good descriptive answer for StackOverflow.

            – Matt Johnson
            Nov 9 '16 at 22:33
















          8














          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 .






          share|improve this answer





















          • 2





            Please use English on StackOverflow. Also, your answer is just to download some zip file you made and blindly run it? That's not a very safe practice, and not a good descriptive answer for StackOverflow.

            – Matt Johnson
            Nov 9 '16 at 22:33














          8












          8








          8







          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 .






          share|improve this answer















          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 .







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 18 '16 at 8:09

























          answered Oct 30 '16 at 1:59









          aimlessaimless

          562512




          562512








          • 2





            Please use English on StackOverflow. Also, your answer is just to download some zip file you made and blindly run it? That's not a very safe practice, and not a good descriptive answer for StackOverflow.

            – Matt Johnson
            Nov 9 '16 at 22:33














          • 2





            Please use English on StackOverflow. Also, your answer is just to download some zip file you made and blindly run it? That's not a very safe practice, and not a good descriptive answer for StackOverflow.

            – Matt Johnson
            Nov 9 '16 at 22:33








          2




          2





          Please use English on StackOverflow. Also, your answer is just to download some zip file you made and blindly run it? That's not a very safe practice, and not a good descriptive answer for StackOverflow.

          – Matt Johnson
          Nov 9 '16 at 22:33





          Please use English on StackOverflow. Also, your answer is just to download some zip file you made and blindly run it? That's not a very safe practice, and not a good descriptive answer for StackOverflow.

          – Matt Johnson
          Nov 9 '16 at 22:33


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f39832866%2ftzupdater-failing-with-tzdata2016g-release%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          MongoDB - Not Authorized To Execute Command

          How to fix TextFormField cause rebuild widget in Flutter

          in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith