LoginSignup
0
0

More than 1 year has passed since last update.

Debian 9にOpenJDK 17をインストール(Azul Zulu Builds of OpenJDK)

Posted at

はじめに

Azul Zulu Builds of OpenJDKを利用してDebian9にOpenJDK17をインストール
親記事:OpenJDKの各種インストール方法とEOLまとめ
参考:Azul Platform Core

サポート

有償版のみサポート期間が明記されている。Azul Support Roadmap - Azul | Better Java Performance, Superior Java Support
Zulu Community時代より、無償版のサポート期間は不明。

LOG

レポジトリ登録

# apt-get -q update
# apt-get -yq install gnupg curl
# apt-key adv \
  --keyserver hkp://keyserver.ubuntu.com:80 \
  --recv-keys 0xB1998361219BD9C9
# curl -O https://cdn.azul.com/zulu/bin/zulu-repo_1.0.0-3_all.deb
# apt-get install ./zulu-repo_1.0.0-3_all.deb
# apt-get install apt-transport-https
# apt-get update

インストール

# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

# apt-get install zulu17-jdk
... 略

各種確認

# which java
/usr/bin/java

# java -version
openjdk version "17.0.1" 2021-10-19 LTS
OpenJDK Runtime Environment Zulu17.30+15-CA (build 17.0.1+12-LTS)
OpenJDK 64-Bit Server VM Zulu17.30+15-CA (build 17.0.1+12-LTS, mixed mode, sharing)
0
0
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
0
0