Skip to content

Instantly share code, notes, and snippets.

@asuraphel
Created October 21, 2013 13:05
Show Gist options
  • Save asuraphel/7083553 to your computer and use it in GitHub Desktop.
Save asuraphel/7083553 to your computer and use it in GitHub Desktop.
~/.bash_rc
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
JAVA_HOME=/usr/local/java/jdk1.7.0-openjdk-amd64
PATH=$PATH:$HOME/bin:$JAVA_HOME/bin
JRE_HOME=/usr/local/java/jre1.7.0-openjdk-amd64
PATH=$PATH:$HOME/bin:$JRE_HOME/bin
export JAVA_HOME
export JRE_HOME
export PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment