0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

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

Posted at

はじめに

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

サポート

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

LOG

レポジトリ登録

# apt update
# apt install gnupg ca-certificates curl
# curl -s https://repos.azul.com/azul-repo.key | gpg --dearmor -o /usr/share/keyrings/azul.gpg
# echo "deb [signed-by=/usr/share/keyrings/azul.gpg] https://repos.azul.com/zulu/deb stable main" | tee /etc/apt/sources.list.d/zulu.list

インストール

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

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

各種確認

# which java
/usr/bin/java

# java -version
openjdk version "17.0.8" 2023-07-18 LTS
OpenJDK Runtime Environment Zulu17.44+15-CA (build 17.0.8+7-LTS)
OpenJDK 64-Bit Server VM Zulu17.44+15-CA (build 17.0.8+7-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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?