Skip to content

Instantly share code, notes, and snippets.

@vunb
Created October 31, 2013 11:30
Show Gist options
  • Save vunb/7248178 to your computer and use it in GitHub Desktop.
Save vunb/7248178 to your computer and use it in GitHub Desktop.
Reload: source ~/.bash_profile
[vi@Manlab java_sdk_1.6.0]$ more ~/.bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
# Vunb: 2013.10.15
#JAVA_HOME=/usr/java/latest/
#JAVA_HOME=/usr/java/jdk1.6.0_35/
JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk/
export JAVA_HOME
PATH=$PATH:$HOME/bin:$JAVA_HOME
# Vunb: End
export PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment