How and where to update JDK 1.6, Daylight Saving Time properties ? Kindly provide me a solution for both windows and linux platforms.
Asked
Active
Viewed 278 times
-1
-
1What are you trying to do? Please include a code example. – Keppil Nov 05 '14 at 12:40
-
We need more information. – James Fox Nov 05 '14 at 12:41
-
While fetching System time, java will return time based on its time zone taking day light saving time into account.. What I have to do to get time based on day light saving.?? – Rajesh Kumar Nov 05 '14 at 12:43
-
Are you looking for the Java Control Panel? (Linux: https://www.java.com/en/download/help/enable_console_linux.xml) (Windows: https://www.java.com/en/download/help/win_controlpanel.xml) – martin jakubik Nov 05 '14 at 12:45
-
1NO I'm speaking about **Daylight saving time** – Rajesh Kumar Nov 05 '14 at 12:47
1 Answers
2
For Linux, the timezone data for OpenJDK Java is provided (typically) by the "tzdata-java" package (or a similarly named package ... depending on your distro). Make sure that you have the most recent version of that package installed.
Alternatively, read this Oracle page about the "tzupdater" tool. This provides a system independent method for updating the timezone info in an installed Oracle JDK or JRE:

Stephen C
- 698,415
- 94
- 811
- 1,216