TZupdater failing with tzdata2016g release
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
add a comment |
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
add a comment |
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
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
java timezone java-time timezone-offset
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
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Workaround:
- Update
Makefile
of http://www.iana.org/time-zones/repository/releases/tzdata2016g.tar.gz: Original value ofVERSION
variable isunknown
and you need to update it to2016g
. - 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.
I have done this workaround for tzdata2016h. But tzupdater would complain aboutJRE 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
add a comment |
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 .
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Workaround:
- Update
Makefile
of http://www.iana.org/time-zones/repository/releases/tzdata2016g.tar.gz: Original value ofVERSION
variable isunknown
and you need to update it to2016g
. - 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.
I have done this workaround for tzdata2016h. But tzupdater would complain aboutJRE 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
add a comment |
Workaround:
- Update
Makefile
of http://www.iana.org/time-zones/repository/releases/tzdata2016g.tar.gz: Original value ofVERSION
variable isunknown
and you need to update it to2016g
. - 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.
I have done this workaround for tzdata2016h. But tzupdater would complain aboutJRE 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
add a comment |
Workaround:
- Update
Makefile
of http://www.iana.org/time-zones/repository/releases/tzdata2016g.tar.gz: Original value ofVERSION
variable isunknown
and you need to update it to2016g
. - 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.
Workaround:
- Update
Makefile
of http://www.iana.org/time-zones/repository/releases/tzdata2016g.tar.gz: Original value ofVERSION
variable isunknown
and you need to update it to2016g
. - 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.
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 aboutJRE 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
add a comment |
I have done this workaround for tzdata2016h. But tzupdater would complain aboutJRE 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
add a comment |
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 .
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
add a comment |
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 .
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
add a comment |
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 .
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 .
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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