Skip to content

Instantly share code, notes, and snippets.

@hmalphettes
Last active August 29, 2015 13:56
Show Gist options
  • Save hmalphettes/9318603 to your computer and use it in GitHub Desktop.
Save hmalphettes/9318603 to your computer and use it in GitHub Desktop.
JDK8 on Macosx with http://jenv.be
# Install jenv with brew
brew tap jenv/jenv
brew install jenv
# I did not touch my .zshrc or my bashrc: the jenv binary is already on the PATH thanks to brew.
# Instead:
mkdir ~/.jenv/versions
# Download jdk8 from Oracle in a web browser: https://jdk8.java.net/download.html
# Then add it:
jenv add /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home
# Make it your user's default:
jenv global oracle64-1.8.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment