Using HomeBrew to Install Java JDK11 on MacOS (2021)
<p>I know there is a post with the <a href="https://medium.com/macoclock/using-homebrew-to-install-java-jdk11-on-macos-44b30f497b38" rel="noopener">exact same title</a> but since it’s a little bit outdated I’d like to post a slightly adjusted version for the people who is googling a updated solution.</p>
<h2>Step 1: Install Homebrew (if you haven’t done it already)</h2>
<pre>
$ /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)”</pre>
<h2>Step 2: Update it (if you haven’t done it already)</h2>
<pre>
$ brew update</pre>
<h2>Step 3: Install Java11</h2>
<pre>
$ brew install java11</pre>
<h2>Step 4: Symlink it</h2>
<p>If you skip this step the system won’t be able to find a java runtime for you to use.</p>
<p><a href="https://medium.com/@kirebyte/using-homebrew-to-install-java-jdk11-on-macos-2021-4a90aa276f1c"><strong>Click Here</strong></a></p>