Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Software

Vista - Date is not displayed properly in Java application

Reply
 
Old 04-02-2009   #1 (permalink)


Vista Ultimate x64
 
 

Date is not displayed properly in Java application

Hi,

I have my java application running on windows Xp previosly and the application has a feature to show the current time on its screen. Recently i have upgraded my OS to vista and set the time/date setting in vista to my local current time.

After i launch my application i see the date and time displayed on the screen is not my current date and time. Instead it is showing the GMT time as the current time on my application screen. The JDK using is 1.4.2_06.

Suggest me what configuration changes to be done for it to work properly on vista.

Thanks,
Vivek

My System SpecsSystem Spec
Old 04-02-2009   #2 (permalink)


Win7x64
 
 

Re: Date is not displayed properly in Java application

Sounds like something has changed underneath you. Most likely the JRE isn't calling the relevant APIs the right way under Vista, assuming you used the same JDK, JRE, and app versions under XP.

I'm assuming the app is your code. Can you paste the relevant method portions here? I'm quite curious.
My System SpecsSystem Spec
Old 06-01-2009   #3 (permalink)


Vista Business
 
 

Re: Date is not displayed properly in Java application

Hi, I had the same problem and came here looking for help. But in the middle I solved the problem (or it solved itself). Just returning to share what happened...

I just adjusted the system time (of course whit the same date and time of the moment) and then my java application started to display the time properly.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Sidebar gadgets not displayed properly Vista General
Java RE not installing properly on Vista Ultimate x64 Vista General
Anomolous settings in Date & Time control dialogued displayed Vista performance & maintenance
Pictures not displayed properly Vista music pictures video


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46