Created
September 2, 2014 15:28
-
-
Save fsvehla/2a3352f18d65204a057e to your computer and use it in GitHub Desktop.
This file contains 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
function jdk7 () { | |
export JVM_VERSION='1.7.0_51' | |
# Java | |
export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk${JVM_VERSION}.jdk/Contents/Home" | |
export PATH="${JAVA_HOME}/bin:${PATH}" | |
} | |
function jdk8 () { | |
export JVM_VERSION='1.8.0_20' | |
# Java | |
export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk${JVM_VERSION}.jdk/Contents/Home" | |
export PATH="${JAVA_HOME}/bin:${PATH}" | |
} | |
jdk8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment