dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

provide way to easily switch java versions

Open travi opened this issue 9 years ago • 1 comments

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

travi avatar Aug 17 '15 14:08 travi

http://richard.cyganiak.de/blog/2009/08/multiple-java-versions-on-os-x/

travi avatar Aug 17 '15 19:08 travi