Skip to Content
0
Former Member
Aug 05, 2008 at 05:53 PM

Environment Variables for Linux

17 Views

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