Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java time one hour behind

Tags:

java

time

I've an application that depends heavily on Java. We do extensive logging, database insertion, etc. After the day light timing switch we noticed that all Java time is about an hour behind. We've Jre version of 1.6_18. I thought this issue was resolved in earlier versions of Java. Do suggest as to what can be done, if there are any patches for this.

like image 698
user737159 Avatar asked May 04 '11 01:05

user737159


1 Answers

Timezone information is modified periodically. Java 6 update 18 is likely to have out of date DST settings for your location.

Either upgrade to the latest (update 25) or run the TZupdater tool.

EDIT: I have just discovered that Oracle provides an RSS feed for timezone updates. If your application absolutely must have the most recent TZ data keep an eye on this.

like image 65
Synesso Avatar answered Oct 09 '22 13:10

Synesso