I'm investigating reasons why a JVM is not paying attention to this parameter. As I understand it, this parameter is used to define the default time zone the JVM uses. You need to supply it a value the JVM will recognize, i.e. something like Europe/London. This value is peculiar to
Java, so the JVM maps it to a time zone value in in the OS the JVM runs on via the tzmappings file (in jre/lib) and the data files in the jre/lib/zi directory. The JVM can then defer to the OS to tell it the date format etc. If the value of the user.timezone property is not mapped, the JVM defaults to GMT.
So, possible reasons why the parameter would be ignored:
the user.timezone value is a garbage valuethe user.timezone value is what would normally be a valid value, but there is no mapping for it in the JVM (for whatever reason)the OS can't supply a time zone for this mapping Does anyone know any other reason why this value could be ignored? Has anyone come across a particular JVM version causing problems (mine is Hotspot 142_10)? Or am I completely misunderstanding how this works?
[ September 04, 2006: Message edited by: Paul Sturrock ]