setting java in .bashrc – linux
Written By smart|
24 June 2009|
No Comment
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
export PATH=/opt/java/jdk1.x.x.x/bin:$PATH
To activate the changes you can just use the next command:
source .bashrc
after the above stepĀ logout and login.
Leave your response!