On 21/01/2016 14:14, Rob Schramm wrote:
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.

Except that JAVA_HOME is an environment variable already intended to allow you to point to the current version, allow you to override it etc.

JAVA_HOME pointing to a symlink is a double level of indirection. I don't see that the work for an upgrade is significantly different (update a symlink vs. update a file).

In answer to the original question, having SMP/E use the JAVA_HOME environment variable would be the clean way. It would be nice if there was somewhere you could set environment variables usable for any dubbed process, rather than requiring a shell. /etc/environment maybe?

Andrew Rowley

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to