About the /etc/profile...
Best to set JAVA_HOME to a symlink.  Less work for an upgrade.  The users
can always override such things.. Having a standard symlink(s) that can be
used gives a nice amount of control and consistency.

Rob Schramm

On Wed, Jan 20, 2016, 5:30 PM Farley, Peter x23353 <
[email protected]> wrote:

> Doesn't z/OS Unix have the equivalent of /etc/profile?  And doesn't Java
> installation create an entry or invoked script in /etc/profile to set the
> JAVAHOME environment variable as every other *ix system does?  Shouldn't
> that be the preferred method for compatibility with every other *ix Java
> environment?
>
> Just asking  . . .
>
> Peter
>
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On
> Behalf Of Paul Gilmartin
> Sent: Wednesday, January 20, 2016 4:35 PM
> To: [email protected]
> Subject: Where's Java!? (SMP/E needs to know.)
>
> 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
>
> This message and any attachments are intended only for the use of the
> addressee and may contain information that is privileged and confidential.
> If the reader of the message is not the intended recipient or an authorized
> representative of the intended recipient, you are hereby notified that any
> dissemination of this communication is strictly prohibited. If you have
> received this communication in error, please notify us immediately by
> e-mail and delete the message and any attachments from your system.
>
>
> ----------------------------------------------------------------------
> 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

Reply via email to