0

` I tried echo ${SERVERROOT} in sh. I execute this script in desktop. It displays empty. How to get installation path dynamically?

Suganthan Raj
  • 2,330
  • 6
  • 31
  • 42

1 Answers1

1

Since there could be multiple installations of multiple releases, to reliably find them you'd need to parse (for 8.0 and later) /var/ibm/InstallationManager/installed.xml

Or, sort this out once and set an environment variable or symlink on the system.

covener
  • 17,402
  • 2
  • 31
  • 45