Help us understand the problem. What is going on with this article?

homebrew-cask から Java8 をインストールする

問題点

下記の記事を参考にインストールを試みたが、単純には入らなかった。

homebrew-caskでJava8をインストールする - Qiita

zsh
% brew cask install adoptopenjdk8
Error: Cask 'adoptopenjdk8' is unavailable: No Cask with this name exists.

調べてみると、 homebrew から Java8 をインストールする方法は最近色々と変遷があったらしい。

HomeBrew で AdoptOpenJDK をインストールしてみた(訂正版) - Qiita

解決方法

adoptopenjdk のリポジトリの手順に従ってインストールした所上手くいった。

https://github.com/AdoptOpenJDK/homebrew-openjdk

zsh
brew tap AdoptOpenJDK/openjdk
brew cask install adoptopenjdk8
fala
備忘録として記事を書いています。 記事の内容は個人の見解であり、所属する企業を代表するものではありません。
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした