Thursday 1 May, 2008

UNIX (AIX HP-UX) : Setting Environment Variables (setenv,set,export...)

UNIX (AIX, HP-UX): Setting Environment Variables
====================================
- SAPinst needs the JAVA_HOME environment variable to be set on the
host(s) where SAPinst will run.
- Set the JAVA_HOME environment variable for the root user to
.
- Ensure that your DISPLAY environment variable is set to :0.0,
where is the host on which the SAPinst GUI will be displayed.
- Only for a Unicode installation:
Add /sapmnt//profile to the library path environment variable.

=================================

Use the following commands, based on your shell, to set the environment variables:
- Bourne Shell (bsh) JAVA_HOME= export JAVA_HOME
DISPLAY=:0.0 export DISPLAY
- C Shell (csh) setenv JAVA_HOME
setenv DISPLAY :0.0
- Korn Shell (ksh) export JAVA_HOME=
export DISPLAY=:0.0
Name of the library path environment variable:
- AIX: LIB_PATH
- HP-UX:SHLIB_PATH
- LD_LIBRARY_PATH (for all other UNIX operating systems)