I am fairly new to Java, so please excuse me if this happens to be a very basic question.
I'm working with a simple console app to just print the local date, time, timezone and locale. It works perfectly on Windows XP - the time and zone settings match with the current zone settings on the machine. However on Vista, the time is always returned in GMT and the time zone also displays "Greenwich Mean Time" regardless of the zone settings on the machine. The code and JDK versions on both systems are identical.
Is there any other way to get the local time which would be based on the time zone settings.