1752798 Members
5528 Online
108789 Solutions
New Discussion юеВ

Re: java vm

 
SOLVED
Go to solution
adarsh_4
Frequent Advisor

java vm

i have to load "rdb jdbc driver" on vms7.3-2. in order to do that i need a java vm and some patches. iam a bit confused here. please advise

1) Is jdk5.0 a java vm.

2 if u follow this site
http://h18012.www1.hp.com/java/archive_download/ovms/1.5.0-4/jdk5.0_patches.html

it says how to look for the patches. i have done that exact but no result, if i do the same search with "all words" it gives 27 patches. do i have to load all the patches.

6 REPLIES 6
adarsh_4
Frequent Advisor

Re: java vm

Steven Schweda
Honored Contributor

Re: java vm

> [...] i need a java vm [...]

There are different version of these. You
might wish to look for one which would be
compatible with the "rdb jdbc driver" which
you intend to use.

> 1) Is jdk5.0 a java vm.

That's a question?

JDK-anything is a Java Development Kit. A
JDK includes a JRE (Java Runtime
Environment), and _that_ should include a
Java Virtual Machine.

http://h18012.www1.hp.com/java/alpha/
http://h18012.www1.hp.com/java/download/ovms/1.4.2/index.html
http://h18012.www1.hp.com/java/download/ovms/1.5.0/index.html

> do i have to load all the patches.

I can't see what you saw. It appears that
what you really need is the latest VMS
UPDATE kit, plus any CRTL, PTHREAD, and TCPIP
patches which are not included in the latest
UPDATE kit. I normally get patches from
ftp://ftp.itrc.hp.com/openvms_patches/
instead of trying to fight the ITRC.

Note that:

The JDK 5.0-5 kit is available for
OpenVMS Alpha Version 8.2 and higher.

but I wouldn't trust that. I seem (PRODUCT
SHOW PRODUCT /FULL) to have this on my V7.3-2
system:

DEC AXPVMS JAVA150 V1.5-5 Full LP Installed

but I don't know if it actually works.
adarsh_fj
New Member

Re: java vm

thank you steven. i have downloaded ALPHA_V732_MASTER_ECO_LIST.ZIPEXE;1 using smart term 12 simulator in my pc and transfered it to vms using ftp drag and drop of smart term 12 in binary mode.

1)iam not sure if we can transfer files like this.

2)can u please guide me how to install this file.

adarsh_fj
New Member

Re: java vm

iam using a different profile now because i tried to reset my password and till now i have not received any email regarding my password. Since this is very urgent, i had create another profile.

as soon as i get the password, i will assign points.

thanks
Steven Schweda
Honored Contributor
Solution

Re: java vm

> 1)iam not sure if we can transfer files
> like this.

Sounds ok to me. The real test will be when
you try to use it.

> 2)can u please guide me how to install
> this file.

I _can_ guide you on spelling "you".

ALPHA_V732_MASTER_ECO_LIST.* is a list, not a
complete patch kit, but, in general, any
"xxx.ZIPEXE" kit is probably a
self-extracting Zip archive, and it can be
expanded by running it:
RUN xxx.ZIPEXE

If you wish, you can use UnZip on it, too.
For example:

ALP $ unzip6l -l ALPHA_V732_MASTER_ECO_LIST.ZIPEXE
Archive: ALP$DKA0:[PATCH]ALPHA_V732_MASTER_ECO_LIST.ZIPEXE;1
warning [ALP$DKA0:[PATCH]ALPHA_V732_MASTER_ECO_LIST.ZIPEXE;1]: 88064 extra byte
s at beginning or within zipfile
(attempting to process anyway)
Length Date Time Name
--------- ---------- ----- ----
16384 06-12-2009 05:57 ALPHA_V732_MASTER_ECO_LIST.TXT
--------- -------
16384 1 file


Why they provide a "99 Kb" self-extracting
Zip archive of a "4 Kb" text file is beyond
my power to explain. I'd suggest downloading
the ".txt" file, instead.

In any case, if you ever get so far as
downloading any actual patch kits, there
should be a corresponding ".txt" file for
each one, and that should include
installation instructions.


You probably don't care, but, ...

Note that HP tends to use an obsolete, old,
slow UnZip self-extractor (SFX):

ALP $ mcr sys$disk:[]ALPHA_V732_MASTER_ECO_LIST.ZIPEXE -v
UnZipSFX 5.42 of 14 January 2001, by Info-ZIP (Zip-Bugs@lists.wku.edu).
Valid options are -tfupcz; modifiers are -abjnoqCLMVX. Quote uppercase options.

A newer UnZip (like, say, 5.52 or 6.0) can
save some time when unpacking a large
archive. Just use UnZip on the thing, and
ignore the warning:

ALP $ unzip6l ALPHA_V732_MASTER_ECO_LIST.ZIPEXE
Archive: ALP$DKA0:[PATCH]ALPHA_V732_MASTER_ECO_LIST.ZIPEXE;1
warning [ALP$DKA0:[PATCH]ALPHA_V732_MASTER_ECO_LIST.ZIPEXE;1]: 88064 extra byte
s at beginning or within zipfile
(attempting to process anyway)
inflating: ALPHA_V732_MASTER_ECO_LIST.TXT

They also don't run their SFX archives
through "Zip -A", which would eliminate that
annoying warning:

ALP $ zip3l -A ALPHA_V732_MASTER_ECO_LIST.ZIPEXE
Zip entry offsets appear off by 88064 bytes - correcting...

ALP $ unzip6l -l ALPHA_V732_MASTER_ECO_LIST.ZIPEXE
Archive: ALP$DKA0:[PATCH]ALPHA_V732_MASTER_ECO_LIST.ZIPEXE;1
Length Date Time Name
--------- ---------- ----- ----
16384 06-12-2009 05:57 ALPHA_V732_MASTER_ECO_LIST.TXT
--------- -------
16384 1 file

What a world, what a world...
Willem Grooters
Honored Contributor

Re: java vm

A number of answers:

If you downsloaded the JDK (Java Development Kit) that's Ok. It contains much more than just the Virtual Machine. The JRE (Java Runtime Environment) should be sufficient.

Java 5 has not bee certified for OpenVMS 7.3-2 and therefore is unsupported, which does not mean that is won't work. But be prepeared that some things may not work as expected. Most problems will be related to features added/repared to the C-Runtime Library, and there are diffeernces between 7.3-2 ande 8.2 (and up)
However, we run Java 5.0 (Runtime) on OpenVMS and did not encounter problems - yet.

As Steven already emntioned: the ECO text file is just a list. The FAST way to get up-to-date is to download and install the latest UPDATE kit and all files that are not included - that's what this list will tell you.

If you can post questions on this forum, you'll be able to dowenload them (See bottom of main page, and follow "Download patches" (or similar).
Willem Grooters
OpenVMS Developer & System Manager