# java

vim \~/.bash\_profile JAVA\_HOME="/Library/Java/JavaVirtualMachines/jdk1.8.0\_40.jdk(具体路径)/Contents/Home/"

zsh 也对应修改\~/.zshrc
