[JAVA] Install OpenJDK 8 on mac

Caution

http://jdk.java.net/archive/

environment

Installation

Suddenly I wanted to create a Java 8 development environment. Although it is for personal use, I will try using OpenJDK because it is a big deal. This time I will use Homebrew.

$ brew tap AdoptOpenJDK/openjdk
$ brew cask install adoptopenjdk8

The list of supported versions is here.

Verification

$ java -version

openjdk version "1.8.0_212"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_212-b03)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.212-b03, mixed mode)

Supplement

adoptopenjdk It is said that it is sponsored by IBM etc. in the community that provides builds of OpenJDK.

Even if it's not Homebrew It seems that you can drop the installer and binaries from the official website.

https://adoptopenjdk.net/archive.html

Is this more convenient for Windows? At present, there is no problem with package management for Linux systems, so it seems to be okay. (I don't know how long it will be okay)

reference

Recommended Posts

Install openjdk11 on mac
Install OpenJDK 8 on mac
Install gradle on mac
Install OpenJDK on macOS
Install Java on Mac
Install OpenJDK7 (JAVA) on ubuntu 14.04
Install tomcat + eclipse on mac
Install openjdk8 on Docker image (Debian)
Install Java development environment on Mac
Install OpenJDK (Java) on the latest Ubuntu
How to install Eclipse (Photon) on Mac
I can't install rails on my mac
Install Corretto 8 on Windows
Run STS4 on Mac
Install java and android-sdk on Mac using homebrew
Install Golang on CentOS 8
Install OpenJDK8 with RPM
Install pyqt5 on ubuntu
Install Neo4j 4.1.3 on centOS
Install Java 11 (OpenJDK: AdoptOpenJDK) on macOS with Homebrew
Install Docker on Manjaro
Install Vertica 10.0 on CentOS 6.10
Install Ruby on Ubuntu 20.04
Install Ruby / Rails on Mac M1 Big Sur 2021-01
Install Java 14 (OpenJDK: AdoptOpenJDK) on macOS with Homebrew
Mac Rails Install Error
Install PostgreSQL 12 on Centos8
Install nginx on centOS7
Install lombok on SpringToolSuite4
Install SonarQube on Mac and challenge source analysis
Install Python 3 on CentOS 7
Install Java 8 (OpenJDK: AdoptOpenJDK) on macOS with Homebrew
Install kuromoji on CentOS7
Install Autoware on Ubuntu 18.04.5
OpenJDK installation on CentOS 7
Install Mattermost on CentOS 7
Install PostGIS 2.5.5 on CentOS7
Install jpndistrict on CentOS 7
Install Homebrew on Ubuntu 20.04
Install Redmine 4.1.1 on CentOS 7
Smokeping Install on CentOS7
Install PostgreSQL 13 on CentOS 7.5
[Ruby] I can't install puma on Mac [Rails, etc.]
Install Java 8 (OpenJDK: Amazon Corretto) on macOS with Homebrew
Install java and maven using brew on new mac
Install Eclipse on Mac and translate it into Japanese
Install Java 8 (OpenJDK: Zulu Community) on macOS with Homebrew
I struggled with pip install on an M1 Mac
Install ag (the silver searcher) [on CentOS / Ubuntu / Mac]
Install Docker on Raspberry Pi
Install Docker on Windows 10 PRO
Install Cybozu Office 10 on Ubuntu 20.4
Install Docker on Ubuntu Server 20.04
Install rbenv on Amazon Linux
Install zabbix agent (5.0) on Ubuntu 18.04
Install MAV Proxy on Ubuntu 18.04
Manually build OpenJDK on Windows
Install tomcat on Sakura's VPS
Install OpenFOAM v2006 on CentOS
Install Arudino IDE on Ubuntu 20
Install Java on WSL Ubuntu 18.04