Linux

[Linux] Ubuntu 20.04, CentOS Zulu JDK14 설치하는 방법

nineDeveloper 2020. 3. 22.
728x90

CentOS


저장소 등록

rpm --import http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems
curl -o /etc/yum.repos.d/zulu.repo http://repos.azulsystems.com/rhel/zulu.repo

cask 패키지 관리 brew cu

https://freedeveloper.tistory.com/199

RPM 패키지 설치

yum -y install zulu-14

설치된 zulu jdk 확인

java --version
openjdk 14 2020-03-17
OpenJDK Runtime Environment Zulu14.27+1-CA (build 14+36)
OpenJDK 64-Bit Server VM Zulu14.27+1-CA (build 14+36, mixed mode, sharing)

Ubuntu


apt-add-repository 설치

apt-get install software-properties-common

azulsystem 저장소 추가

apt-add-repository 'deb http://repos.azulsystems.com/ubuntu stable main'

설치를 위한 키 등록

apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9

zulu jdk 검색

apt-get update && apt-cache search zulu

zulu jdk 검색 결과

zulu17 - Azul Systems Zulu is a binary distribution of OpenJDK
zulu-9 - Azul Systems Zulu is a binary distribution of OpenJDK
zulu-11 - Azul Systems Zulu is a binary distribution of OpenJDK
zulu-6 - Azul Systems Zulu is a binary distribution of OpenJDK
zulu-8 - Azul Systems Zulu is a binary distribution of OpenJDK
zulu-7 - Azul Systems Zulu is a binary distribution of OpenJDK
zulu-12 - Azul Systems Zulu is a binary distribution of OpenJDK
zre-11 - Azul Systems Zulu is a binary distribution of OpenJDK
zulu-14 - Azul Systems Zulu is a binary distribution of OpenJDK
zulu-13 - Azul Systems Zulu is a binary distribution of OpenJDK
zulu-10 - Azul Systems Zulu is a binary distribution of OpenJDK
zre-8 - Azul Systems Zulu is a binary distribution of OpenJDK

zulu jdk 설치

apt-get install zulu-14

설치 위치

설치위치는 /usr/lib/jvm/zulu-14-amd64이다 JAVA_HOME 환경변수를 설정하려면 아래의 경로를 추가하면 된다

728x90

댓글

💲 추천 글