cancel
Showing results for 
Search instead for 
Did you mean: 

Environment Variables for Linux

Former Member
0 Kudos

Hi All

I am trying to set the Environement Variables on RHEL 5.2(64 Bit) for SM 7.0 Installation

- I have installed the RPM "IBMJava2-AMD64-142-SDK-1.4.2-11.0.x86_64.rpm"

- I have set the Environment Variable in .bash_profile file as below:

export JAVA_HOME=/opt/IBMJava2-amd64-142

expot PATH=$JAVA_HOME/bin:$PATH

Logged out of root and logged in, but I am not able to see the correct JAVA -Version

Its still showing the GNU version.

Can you please let me know that was correct ?

Thanks

Sri

Accepted Solutions (0)

Answers (1)

Answers (1)

markus_doehr2
Active Contributor
0 Kudos

You can simply use those commands in the shell that is open and in which you want to start the installation. There's no need to make this permanent for user "root".

Sapinst will configure the new users correctly with the correct PATH.

Markus

Former Member
0 Kudos

Hi Markus

Thanks for the inputs, it solved my problem.

I could start the SAPINST successfully.

Thanks

Sri