How to install java8 using homebrew

Ariel Silva
1 min readSep 24, 2019

Install java8

$ /usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew tap caskroom/versions
$ brew cask install adoptopenjdk/openjdk/adoptopenjdk8

Select java8

$ /usr/libexec/java_home -V
$ export JAVA_HOME=`/usr/libexec/java_home -v 1.8`

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Ariel Silva
Ariel Silva

Written by Ariel Silva

Tech Lead | Product Design | Digital Innovation

No responses yet

Write a response