sb2nov / mac-setup

Installing Development environment on macOS

Home Page:https://sourabhbajaj.com/mac-setup/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Brew unable to install older java versions

anirudhagar13 opened this issue · comments

I'm Submitting a ...

[x ] Bug report
[ ] Tool/language/etc documentation request

Bug Location

brew would not be able to look for older versions of java, like java8 mentioned in the documentation, until cask is updated with versions.

Tool/Language/etc

Other Information

Found the solutions at:

I think a better approach is to use the adoptopenjdk/openjdk tap. That's the canonical source for JDKs straight from AdoptOpenJDK, and provides several versions and variants of the JDK.

https://stackoverflow.com/questions/53772023/how-to-install-java-8-on-osx-macos-mojave-with-homebrew/55775566

Fixed in #285.