title: How to install specific Java version using Homebrew?
body: <p>I am looking to install Java on Mac using <code>Homebrew</code>. This works fine using the command
  <code>brew cask install java</code>.This installs the latest stable version which is currently - <code>1.8.0_141</code>
  However how can I install a specific version for example <code>1.8.0_131</code>.</p>