Installing java8
with Homebrew seems to no longer be working. After running:
brew install caskroom/cask/java8
I get the following error:
Error: Cask 'java8' is unavailable: '/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask/Casks/java8.rb' does not exist.
Simply doing:
brew cask install java8
Errors out with:
Error: Cask 'java8' is unavailable: No Cask with this name exists.
This seems like a recent development because I remember installing it this way a few months ago. Any suggestions on how to properly install java8
on MacOS nowadays?
In short – 8 is product version number and 1.8 is the developer version number (or internal version number). The product is the same, JDK 8, anyways.
In macOS, the JDK installation path is /Library/Java/JavaVirtualMachines/jdk-10. jdk/Contents/Home . The root directory of the JDK software installation.
New command is now :
brew install --cask homebrew/cask-versions/adoptopenjdk8
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With