Created
February 11, 2021 14:35
-
-
Save FelikZ/885c579b8f8670ef8ad2f5e6bb342e6d to your computer and use it in GitHub Desktop.
Fix exact Java version OSX (JAVA 8)
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
#!/usr/bin/env bash | |
set -e | |
brew install jenv | |
# if some reason this directory named with different version, use the existing instead of 1.8.0.192 | |
jenv add /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home | |
jenv global 1.8.0.192 | |
jenv enable-plugin maven |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment