sb2nov / mac-setup

Installing Development environment on macOS
https://sourabhbajaj.com/mac-setup/
Other
7.15k stars 1.02k forks source link

Brew unable to install older java versions #230

Closed anirudhagar13 closed 4 years ago

anirudhagar13 commented 5 years ago

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:

apjanke commented 5 years ago

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

simeg commented 4 years ago

Fixed in #285.