How do I install Java on Mac OSX allowing version switching?
Created 2 years ago
116
Views
1
Comments
I want to install OpenJDK Java on Mac OSX and have it work alongside other JDKs since it is a newer release. I downloaded the tar.gz and placed it in my path, but that is hard to maintain.
The only other install I found that does more things automatically is the install via Homebrew cask. It looks like only the current version too:
brew cask info java
Shows:
java: 13,33:5b8a42f3905b406298b72d750b6919f6
So I can install it from there, but then what? Am I stuck only with the new version?