Created
April 21, 2016 04:00
-
-
Save imam-san/f22509c68f3097d623a096a2e01d753e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export JAVA_8_HOME=$(/usr/libexec/java_home -v1.8) | |
export JAVA_7_HOME=$(/usr/libexec/java_home -v1.7) | |
alias java7='export JAVA_HOME=$JAVA_7_HOME' | |
alias java8='export JAVA_HOME=$JAVA_8_HOME' | |
#default java8 | |
export JAVA_HOME=$JAVA_8_HOME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment