Skip to content

Instantly share code, notes, and snippets.

@mathsigit
Last active January 4, 2017 04:07
Show Gist options
  • Save mathsigit/d1af5425d9966fc0e63cd0b948e6fb4b to your computer and use it in GitHub Desktop.
Save mathsigit/d1af5425d9966fc0e63cd0b948e6fb4b to your computer and use it in GitHub Desktop.
Setting of profiles

Using jenv to Change java version.

Install jenv with homebrew#

brew install jenv

Setting to zsh

echo 'export PATH="$HOME/.jenv/bin:$PATH"' >> ~/.zshrc

echo 'eval "$(jenv init -)"' >> ~/.zshrc

jenv global 1.7.0.80
jenv global 1.8.0.112
/usr/libexec/java_home -V
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment