G
Greg B
Two machines in the same computer lab... both running Windows XP...
the only difference I see between them is that one of them is on the
domain, the other one isn't.
I installed Java SDK 1.4.3_03 on each machine, reboot, and then
compile a run the following two lines of code from within the 'main'
function of my sample class:
Calendar tmpCal = Calendar.getInstance();
System.out.println("Current timezone ID is: " +
tmpCal.getTimeZone().getID());
Interestingly enough, on the first machine (the one on the domain) the
output is
"Current timezone ID is: Australia/Melbourne", while on the other one
it is
"Current timezone ID is: GMT". This difference can (and does) cause
obvious problems... could someone please give me an idea as to why
this is happening?
I do not recall seeing any configuration options during Java SDK
installation which would allow me to configure the timezone settings.
As far as I can see, the Control Panel/Regional Settings and Control
Panel/Date and Time have identical values on both machines...
thanks in advance,
regards,
Greg
the only difference I see between them is that one of them is on the
domain, the other one isn't.
I installed Java SDK 1.4.3_03 on each machine, reboot, and then
compile a run the following two lines of code from within the 'main'
function of my sample class:
Calendar tmpCal = Calendar.getInstance();
System.out.println("Current timezone ID is: " +
tmpCal.getTimeZone().getID());
Interestingly enough, on the first machine (the one on the domain) the
output is
"Current timezone ID is: Australia/Melbourne", while on the other one
it is
"Current timezone ID is: GMT". This difference can (and does) cause
obvious problems... could someone please give me an idea as to why
this is happening?
I do not recall seeing any configuration options during Java SDK
installation which would allow me to configure the timezone settings.
As far as I can see, the Control Panel/Regional Settings and Control
Panel/Date and Time have identical values on both machines...
thanks in advance,
regards,
Greg