The following sections describe troubleshooting techniques for time zone settings.ĭetermine the Time Zone Data Version in Use Operating system-specific patches might be required to ensure that the correct system time is delivered to the JRE. Then, if a Java application requests the system date by calling date and time related constructors, the system time is returned.Ĭonstructors related to date and time include: Modifications to the JRE for each specific operating system are necessary so that the operating system can deliver the system time to the JRE. The tzupdater tool is available for download from the Java SE Download Page. The Java time zone database supports time zone IDs and determines daylight saving time rules for all the time zones that the JRE supports. This provides cross-platform support because the different operating system APIs are not sufficient to support the Java APIs. However, the JRE also maintains its own time zone database. The Java Runtime Environment (JRE) reads the native time zone information to determine your default time zone.įor example, on Windows, the JRE queries the registry to determine the default time zone.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |