We have a simple utility application that reads all the time zone data used in the JRE and displays it all in a simple table. We need to use an earlier version of JRE (6_24) for the upcoming version of the product (due to other problems, apparently), but we also need to include new time zone updates in this version (which would otherwise be included, say, in 6_29) . We are already building a private JRE to be installed, so getting time zone updates in this private JRE using TZUpdater is not a problem - The problem is reading / checking which version of tzdata (e.g. tzdata2010o, tzdata2011k) is read using a utility (e.g. which version is used in the JRE in which the application is running). The application currently displays the JRE version in the title bar, but with time zone updates that are no longer sufficient to determine which version of the time zone data is being used.
I looked at the TimeZone class, but it does not seem to provide this information - is there perhaps a system property that contains this information? The TZUpdater tool knows which version is used, so it must be available somewhere - I canβt imagine that they analytically determined which version is used in the update tool ... Does anyone know where to find this information?
source share