Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

New DST and Java on VMS

Dave Gudewicz
Valued Contributor

New DST and Java on VMS

Is there any VMS / Java specific information available regarding the upcoming DST changes?

Found references to Java on UNIX, but could not locate anything VMS related.

I understand that Java keeps its own time (someone here might confirm this) and therefore needs to have a patch applied to obey the new DST rules.

Dave...
11 REPLIES
Andy Bustamante
Honored Contributor

Re: New DST and Java on VMS

Hi Dave,

This link was posted by Kerry Main (HP) a few days ago.

http://www.hp.com/products1/unix/java/DST-US.html?jumpid=reg_R1002_USEN

Are you on the Encompass VMS sig mailing list?

Andy Bustamante
If you don't have time to do it right, when will you have time to do it over? Reach me at first_name + "." + last_name at sysmanager net
Dave Gudewicz
Valued Contributor

Re: New DST and Java on VMS

Andy,

Yes I am on the Encompass list you mentioned but the page you (and Kerry) referenced is labeled "HP-UX 11.0 and 11i".

I did see this earlier this week and wondered it applied to VMS as well. Thus the question.

Has anyone here applied the referenced patch on a VMS system?

Dave...
Dave Gudewicz
Valued Contributor

Re: New DST and Java on VMS

Took a quick look at the VMS java page here:

http://h18012.www1.hp.com/java/alpha/

Noticed that the kit version numbers are all of lower versions than the ones listed on the HP-UX 11.0 and 11i page and there is no mention of new DST rules.

Dave...
Bill Hall
Honored Contributor

Re: New DST and Java on VMS

Dave,

This is what I came up with by comparing the VMS Java release notes and from Sun's Java website their notes on the minimum versions that contain the new rules. It appears VMS has at least one version of Java on both platforms that contains the new time zone code.

Sun
Java SE6 or later
J2SE 5.0 update 6 or later (10 is the latest)
J2SE 1.4.2_11 or later (13 is the latest)
J2SE 1.3.1_18 or later (19 is the latest)

VMS Alpha Java
Java 1.3.1-7 based on Sun J2SDK 1.3.1_10 (No)
Java 1.4.2-5 based on Sun J2SDK 1.4.2_11 (Yes)
Java 5.0-2 based on Sun J2SE 1.5.0_06 (Yes)

VMS I64 Java
Java 1.4.2-3 based on Sun J2SDK 1.4.2_09 (No)
Java 5.0-2 based on Sun J2SE 1.5.0_10 (Yes)

Sun has a "TZupdater" on their download site for that can update the rules in Java 1.4 and above. HP appears to have a version of TZupdater for HPUX on the HPUX Java website.

The HP Service Tools (WEBES, ISEE, etc.) have even older JREs embedded in them.

Has anyone heard anything officially from HP on the state of the Java versions and/or the Service Tools?

Bill
Bill Hall
Dave Gudewicz
Valued Contributor

Re: New DST and Java on VMS

I heard today from Kerry Main that an updated VMS/Java web page with DST information is in the works.

Dave...
Thomas A. Williams
Regular Advisor

Re: New DST and Java on VMS

I logged a call with HP support, and they sent me this link:

http://java.sun.com/developer/technicalArticles/Intl/USDST/
Bill Hall
Honored Contributor

Re: New DST and Java on VMS

Thomas,

That is the Sun web page I referenced in my earlier reply.

Bill
Bill Hall
Thomas A. Williams
Regular Advisor

Re: New DST and Java on VMS

Ok, sorry about that. We're using V1.1.8-5 of the JAVA JRE. I'm trying to find out if we'll be affected, and if there's a workaround. I know that there's no patch available.
Dave Gudewicz
Valued Contributor

Re: New DST and Java on VMS

Java / DST page (includes VMS info)

http://h18012.www1.hp.com/java/alpha/DST-US.html

Dave...

Re: New DST and Java on VMS

Hello,
How do I find out what version of Java I am running.
I do a java -version and I get

java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition
Classic VM (build 1.3.1-7, 12/15/2003-21:59, native threads, jit

However,

When I get on the system disk and do a
$show dev/files/out=a.txt and then search the a.txt file for any "java" files being used, I get the following::

VMS|SYSTEM >search a.txt java
IDE$SERVER 202006D7 [VMS$COMMON.JAVA$142.BIN]JAVA$JAVA.EXE;1
IDE$SERVER 202006D7 [VMS$COMMON.JAVA$142.JRE.LIB.ALPHA.FASTVM]JAVA$FVM_SHR.EXE;1
IDE$SERVER 202006D7 [VMS$COMMON.JAVA$142.JRE.LIB.ALPHA]JAVA$JAVA_VMS_SHR.EXE;1
IDE$SERVER 202006D7 [VMS$COMMON.JAVA$142.JRE.LIB.ALPHA]JAVA$ZIP_SHR.EXE;1
IDE$SERVER 202006D7 [VMS$COMMON.JAVA$142.JRE.LIB.ALPHA]JAVA$JAVA_SHR.EXE;1
IDE$SERVER 202006D7 [VMS$COMMON.JAVA$142.JRE.LIB.ALPHA]JAVA$VERIFY_SHR.EXE;1
IDE$SERVER 202006D7 [VMS$COMMON.JAVA$142.JRE.LIB.ALPHA.NATIVE_THREADS]JAVA$HPI_SHR.EXE;1
IDE$SERVER 202006D7 [VMS$COMMON.JAVA$142.JRE.LIB]RT.JAR;1
IDE$SERVER 202006D7 [VMS$COMMON.JAVA$142.JRE.LIB]SUNRSASIGN.JAR;1
IDE$SERVER 202006D7 [VMS$COMMON.JAVA$142.JRE.LIB]JSSE.JAR;1
IDE$SERVER 202006D7 [VMS$COMMON.JAVA$142.JRE.LIB]JCE.JAR;1
IDE$SERVER 202006D7 [VMS$COMMON.JAVA$142.JRE.LIB]CHARSETS.JAR;1
IDE$SERVER 202006D7 [VMS$COMMON.JAVA$142.JRE.LIB.EXT]DNSNS.JAR;1
IDE$SERVER 202006D7 [VMS$COMMON.JAVA$142.JRE.LIB.EXT]LDAPSEC.JAR;1
IDE$SERVER 202006D7 [VMS$COMMON.JAVA$142.JRE.LIB.EXT]LOCALEDATA.JAR;1
IDE$SERVER 202006D7 [VMS$COMMON.JAVA$142.JRE.LIB.EXT]SUNJCE_PROVIDER.JAR;1
IDE$SERVER 202006D7 [VMS$COMMON.JAVA$142.JRE.LIB.ALPHA]JAVA$NET_SHR.EXE;1
IDE$SERVER 202006D7 [VMS$COMMON.JAVA$142.JRE.LIB.ALPHA]JAVA$RMI_SHR.EXE;


So, am I running
1.3.1 or 1.4.2 ??

Is there a correct way to find out??


Benito
Bill Hall
Honored Contributor

Re: New DST and Java on VMS

Benito,

The PRODUCT command $PRODUCT SHOW PRODUCT JAVA* will tell you which versions of Java you have installed on your system. Two command procedures are placed in SYS$MANAGER to setup and "tear down" a specific version of Java for a process. These procedures use the naming convention of JAVA$xxx_SETUP.COM and JAVA$xxx_CANCEL_SETUP.COM where xxx is the collapsed version number.

Bill
Bill Hall