SCIENTIFIC-LINUX-USERS Archives

March 2007

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Troy Dawson <[log in to unmask]>
Reply To:
Troy Dawson <[log in to unmask]>
Date:
Fri, 9 Mar 2007 11:21:37 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (88 lines)
Hello,
Many thanks to those who have tested.
My greatest thanks go to Art Kraymer who correctly pointed out that this 
update was *not needed*.  The j2sdk that we pushed out in the errata's 
last time (j2sdk-1.4.2_12) actually has the correct time zone changes.

How did we/he determine that the time zone change was in there, despite 
documentation from Sun saying it wasn't?  He tested it.

Here is a Java script that looks at the various time zone stuff, and 
determines if you have the proper time zone changes.

http://home.fnal.gov/~kreymer/DSTCheck.java

To test it, compile it, then run it with the various versions of java 
you have.  As you can see below, if you have different versions, just 
use the full path for the version you have.

$ javac DSTCheck.java

$ java DSTCheck
Hello, you are running Sun Microsystems Inc. JVM version: 1.4.2_13

OLD Daylight Saving Time (DST) dates: Apr 1 - Oct 28
NEW DST dates: Mar 11 - Nov 4
Now (2007-03-09 10:33:48 CST) DST offset: 0 hours
2007-03-12 01:00:00 CDT DST Offset: 1 hours
2007-04-02 01:00:00 CDT DST Offset: 1 hours
2007-10-27 01:00:00 CDT DST Offset: 1 hours
2007-11-03 01:00:00 CDT DST Offset: 1 hours
...............
. Your JVM is OK with the new DST changes .
...............

$ /usr/java/j2sdk1.4.2_12/bin/java DSTCheck
Hello, you are running Sun Microsystems Inc. JVM version: 1.4.2_12

OLD Daylight Saving Time (DST) dates: Apr 1 - Oct 28
NEW DST dates: Mar 11 - Nov 4
Now (2007-03-09 10:35:10 CST) DST offset: 0 hours
2007-03-12 01:00:00 CDT DST Offset: 1 hours
2007-04-02 01:00:00 CDT DST Offset: 1 hours
2007-10-27 01:00:00 CDT DST Offset: 1 hours
2007-11-03 01:00:00 CDT DST Offset: 1 hours
...............
. Your JVM is OK with the new DST changes .
...............

$ /usr/java/j2sdk1.4.2_06/bin/java DSTCheck
Hello, you are running Sun Microsystems Inc. JVM version: 1.4.2_06

OLD Daylight Saving Time (DST) dates: Apr 1 - Oct 28
NEW DST dates: Mar 11 - Nov 4
Now (2007-03-09 10:42:43 CST) DST offset: 0 hours
2007-03-12 01:00:00 CST DST Offset: 0 hours
2007-04-02 01:00:00 CDT DST Offset: 1 hours
2007-10-27 01:00:00 CDT DST Offset: 1 hours
2007-11-03 01:00:00 CST DST Offset: 0 hours
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! YOUR JVM REQUIRES UPDATES FOR NEW DST CHANGES !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

So, in conclusion, unless someone can dispute this test, and show me 
that we really do need to have our java updated, I'm not going to push 
out the newest java into the errata areas.
I will leave them in the testing area for now, so if people do want to 
update, they can.  The instructions are below.

SL3
yum -c 
ftp://ftp.scientificlinux.org/linux/scientific/30rolling/testing/yum.conf 
update

SL4
yum -c 
ftp://ftp.scientificlinux.org/linux/scientific/40rolling/testing/yum.conf 
update
   or
yum --enablerepo=sl-testing update

Thanks
Troy
-- 
__________________________________________________
Troy Dawson  [log in to unmask]  (630)840-6468
Fermilab  ComputingDivision/LCSI/CSI DSS Group
__________________________________________________

ATOM RSS1 RSS2