6
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

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

Posted at

問題点

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

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 のリポジトリの手順に従ってインストールした所上手くいった。

zsh
brew tap AdoptOpenJDK/openjdk
brew cask install adoptopenjdk8
6
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?