1. 최신 버전의 JDK를 곧바로 받고 싶다면 https://jdk.java.net 으로 접속한다.
Archived OpenJDK GA Releases
Archived OpenJDK General-Availability Releases This page is an archive of previously released builds of the JDK licensed under the GNU General Public License, version 2, with Classpath Exception. WARNING: These older versions of the JDK are provided to he
jdk.java.net
현재(2023-12-04) 기준 jdk 22가 최신 버전이고 Production 빌드 기준으로는 21이 최신이다.
2. 특정 버전의 OpenJDK를 설치하기 위해서는 https://jdk.java.net/archive/ 으로 접속한다.
아래 링크로 접속하면 구버전 openJDK를 다운로드 받아 사용할 수 있다.
Archived OpenJDK GA Releases
Archived OpenJDK General-Availability Releases This page is an archive of previously released builds of the JDK licensed under the GNU General Public License, version 2, with Classpath Exception. WARNING: These older versions of the JDK are provided to he
jdk.java.net
tar 때는 zip 파일 중 편한걸 골라 다운로드 받으면 된다.
m1 맥북 에어의 경우 Mac/AArch64 64bit 이라고 되어있는 파일을 받으면 된다.
3. 다운로드 받은 OpenJDK를 설치하기 위해서는 아래 절차대로 진행한다.
다운로드 받은 jdk tar 또는 zip 파일을 직접 압축 해제하면 된다.
OpenJDK: Download and install
How to download and install prebuilt OpenJDK packages JDK 9 & Later Oracle's OpenJDK JDK binaries for Windows, macOS, and Linux are available on release-specific pages of jdk.java.net as .tar.gz or .zip archives. As an example, the archives for JDK 13 may
openjdk.org

4. tar 명령어를 사용하여 압축 해제
쉘을 실행하여 tar 명령어를 사용하면 openjdk의 압축 해제 및 설치가 완료된다. 특정 폴더에 압축을 해제하기 위해서는 아래 명령어를 입력하면 된다.
tar -xvf openjdk-17.0.2_macos-aarch64_bin.tar -C ~/Library/Java/JavaVirtualMachines
5. Intellij에서 openjdk 설치 확인
intellij에서 new project로 프로젝트 생성시 detected jdk 목록에서 이전에 설치한 openjdk가 정상적으로 잡히는 것을 확인할 수 있다.

이하는 곁가지 내용들...
archive 사이트에 올라온 여러 버전 중 GA라고 붙어있는건 어떤의미인가?
General availability(GA) is the marketing stage at which all necessary commercialization activities have been completed and a software product is available for purchase, depending, however, on language, region, and electronic vs. media availability.
-> SW lifecycle의 한 단계를 의미한다. 쉽게 말해서 Release 상태이며 사용자들에게 상업적으로 판매 및 배포가 가능한 상태를 의미한다.

https://en.wikipedia.org/wiki/Software_release_life_cycle
Software release life cycle - Wikipedia
From Wikipedia, the free encyclopedia Sum of the phases of development and maturity for computer software The software release life cycle is the process of developing, testing, and distributing a software product. It typically consists of several stages, s
en.wikipedia.org