JDK-6593486 : (tz) RFE: support user-defined directory path to time zone data files
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 7
  • Priority: P5
  • Status: Resolved
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2007-08-16
  • Updated: 2018-08-17
  • Resolved: 2018-08-17
Currently, the directory where the time zone data files are located is fixed. Java runtime should support a mechanism to change the directory, like TZDIR on Linux.

WORK AROUND Use a symbolic link to the directory where time zone data files are stored, like: jre/lib/zi -> /usr/share/tzdata

EVALUATION It was suggested that a new property, such as "user.timezone.dir", be supported.