Last active
April 20, 2017 07:27
-
-
Save octonato/d3a156364dbfdf7f6602cd0883dbecb1 to your computer and use it in GitHub Desktop.
jvm-env.sh
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
function jvm.env { | |
echo "------------------ JVM ENVIRONMENT ------------------" | |
echo "Sbt options: $SBT_OPTS" | |
echo "Sbt debug options: $SBT_DEBUG_OPTS" | |
echo "Java options: $JAVA_OPTS" | |
echo "Java Home: $JAVA_HOME" | |
echo "Java Version: "; java -version | |
echo "-----------------------------------------------------" | |
echo | |
} | |
function jdk6 { | |
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk6/Contents/Home | |
} | |
function jdk7 { | |
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk7/Contents/Home | |
} | |
function jdk8 { | |
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk8/Contents/Home | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment