Java and timezone issues!

Knute Johnson knute2009 at
Mon Apr 20 22:30:30 UTC 2009

John L Fjellstad wrote:
> Knute Johnson <knute2009 at> writes:
>> Will you try my applet at
>> and see if it gives you the correct time?  Do you have 
>> /etc/sysconfig/clock or any of the other places that Java looks for 
>> timezone info?  Which version of Java are you running?
> $ java -version
> java version "1.6.0_13"
> Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
> Java HotSpot(TM) Server VM (build 11.3-b02, mixed mode)
> Gives correct time here (CEST)


Do you have a /etc/sysconfig/clock file?  Adding the 
/etc/sysconfig/clock file makes mine work correctly.  It has an entry in it;


and leaving off the quotes makes it NOT work.  This might be the real 



Knute Johnson

More information about the ubuntu-users mailing list