I'm a huge fan of sym-link to the "production" version of any package.
That way, you can have older, or newer, releases available simultaneously.
(see end)

The usual magic prefix for IBM is /usr/lpp.
So maybe point /usr/lpp/javaprod at the current release.
You could then set JAVAHOME in /etc/profile to that path,
and users could override JAVAHOME if and when they need to.


On 01/20/2016 05:26 PM, Rob Schramm wrote:
I vote symlink as well.

Rob Schramm

On Wed, Jan 20, 2016, 4:45 PM John McKown <[email protected]>
wrote:

I like the SYMLINK idea. I do that myself, "by hand".

On Wed, Jan 20, 2016 at 3:34 PM, Paul Gilmartin <
[email protected]> wrote:

Dammit!  The path to Java changes with any z/OS release and/or
any Java release.  I need continually to add to my PATH variable
to keep up.  And there's nothing an ISV can supply in JCL samples
for SMP/E's SMPJHOME; the example in the SMP/E Reference is
woefully outdated.

This makes as little sense as if programmers were required to
code "//SYSLIB  DD  DSN=SYS1.ZOSV2R2.MACLIB".

I'm inclined to submit an RFE for either a utility to find Java or for
IBM's supplying a usable symbolic  link to a preferred Java.
Retroactive; I can't wait for everyone to be on z/OS 2.3

Any suggestions on form or rationale for such an RFE?

Thanks,
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN



--
Werner Heisenberg is driving down the autobahn. A police officer pulls
him over. The officer says, "Excuse me, sir, do you know how fast you
were going?"
"No," replies Dr. Heisenberg, "but I know where I am."

Computer Science is the only discipline in which we view adding a new wing
to a building as being maintenance -- Jim Horning

Schrodinger's backup: The condition of any backup is unknown until a
restore is attempted.

He's about as useful as a wax frying pan.

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

End notes:
I've been pushing a similar common prefix for years.
It happens that /usr/lpp is sort of similar, though IBM uses it a little differently. Sad that these things don't get more traction. We're not getting enough out of the richness that is POSIX.

Would love to hear from others who have gone down this road.
Whadaya do about third party stuff? How do you handle things consistently across Unix?
(Not all the world is USS.)

-- R; <><

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to