Java and timezone issues!

Derek Broughton derek at pointerstop.ca
Mon Apr 20 14:03:00 UTC 2009


Knute Johnson wrote:

> Somebody posted on comp.lang.java the other day about problems with
> Ubuntu and Java timezones not reflecting daylight savings times
> accurately.  I don't want to rehash that discussion but the question was
> asked here the other day, what update messes with the /etc/localtime
> file.  It is tzdata that came in today's updates. 

No, it's not "tzdata that came in today's updates", it's "tzdata".  It's
done it for _years_.

> It rewrites the link 
> at /etc/localtime that points to /usr/share/zoneinfo/??? to be a file.
> This stops Java from figuring out the timezone correctly.

And really, it doesn't.  As more than one of us, has pointed out, Java works
for us.  It's a deeper problem than just being a symlink.
-- 
derek





More information about the ubuntu-users mailing list