1 2 Previous Next 15 Replies Latest reply: Jun 21, 2010 6:04 AM by 807580 Go to original post RSS
      • 15. Re: Java Web Start problem in Windows 7
        807580
        The user.timezone property is set to IST by using the java.lang.System class's setProperty method.
         System.setProperty("user.timezone","Asia/Calcutta"); 
        This will ensure that application will stick to +5.30 of GMT time zone and is totally independant of the system OS(Widnows XP, Vista, Win 7) and system timezone setting(UTC/GMT). Have created a method to fetch the timezone string value (Asia/Calcutta) from DB. This will make bit more configurable.
        1 2 Previous Next