Last active
August 29, 2015 13:56
-
-
Save hmalphettes/9318603 to your computer and use it in GitHub Desktop.
JDK8 on Macosx with http://jenv.be
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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