TZupdater failing with tzdata2016g release
up vote
9
down vote
favorite
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 timezoneoffset
add a comment |
up vote
9
down vote
favorite
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 timezoneoffset
add a comment |
up vote
9
down vote
favorite
up vote
9
down vote
favorite
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 timezoneoffset
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 timezoneoffset
java timezone java-time timezoneoffset
edited Oct 3 '16 at 19:28
Basil Bourque
104k25357519
104k25357519
asked Oct 3 '16 at 13:29
Ali Sadik Kumlali
336211
336211
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
14
down vote
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 |
up vote
8
down vote
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 |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
14
down vote
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 |
up vote
14
down vote
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 |
up vote
14
down vote
up vote
14
down vote
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 Kumlali
336211
336211
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 |
up vote
8
down vote
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 |
up vote
8
down vote
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 |
up vote
8
down vote
up vote
8
down vote
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
aimless
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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