dotfiles
dotfiles copied to clipboard
provide way to easily switch java versions
Also, leave default state as sane config for day-to-day.
Consider:
-
$PATH
-
$JAVA_HOME
Paths to JDKs:
- Apple (Oracle) installs to:
/System/Library/Frameworks/JavaVM.framework/Versions/
- Homebrew appears to install to:
/Library/Java/JavaVirtualMachines/
Apple provides a tool to help ease setting $JAVA_HOME
, but I assume it looks in the apple installations only: http://stackoverflow.com/questions/17885494/how-can-i-change-mac-oss-default-java-vm-returned-from-usr-libexec-java-home#answer-17886334
http://richard.cyganiak.de/blog/2009/08/multiple-java-versions-on-os-x/