Tuesday, December 1, 2015

Set JAVA_HOME for user!

[obiee@PTUD-VM01-2 ~]$ cat .bash_profile 
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH

#JAVA_HOME
export JAVA_HOME=/u01/obiee/setup/jdk
export PATH=$JAVA_HOME/bin:$PATH

Share this

0 Comment to "Set JAVA_HOME for user!"

Post a Comment