Wrong Timezone on Windows XP PC
I have a very strange problem on a windows pc:
The local timezone on the pc is CET. But the timezone in java is GMT. To test this I wrote a very simple java program which only creates a new Date and print it to System.out:
System.out.println(new Date()) results in
Wed Jun 27 14:44:10 GMT 2007
but the expected result is
Wed Jun 27 16:44:25 CEST 2007
This problem seems not depend on the java version, because we tested it with 1.5.0_11 and 1.6.0_01
We are using JavaWebStart, so it is not allowed to change the timezone in the program. So the program uses the wrong timezone and I cannot change it.
This problem seems only to occur on this pc:
os.arch: x86
os.name: Windows XP
os.version: 5.1
Obviously java cannot lookup the right timezone from the operating system. So it seems to me that some settings in XP are the problem.
Did anybody here face the same problem? What did you do to solve it?

