2
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 3 years have passed since last update.

Debian 11 にOpenJDK 11をインストール(OS標準)

Posted at

はじめに

Debian11にOpenJDKを標準インストール
親記事:OpenJDKの各種インストール方法とEOLまとめ

サポート

Leadership of OpenJDK 8 and OpenJDK 11 Transitions to Red HatRed Hat Enterprise Linux Life Cycle - Red Hat Customer Portalを考慮すると、RedHatによるOpenJDKの保守が続く限り、その上流のOpenJDK Project側の保守も続くと思われる。

またDebian7の事例のようにOSがEOLを迎えるまではDebian Javaチームが保守する可能性が高いと思われる。

LOG

インストール

# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
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 -y openjdk-11-jdk
... 略

各種確認

# which java
/usr/bin/java

# java -version
openjdk version "11.0.12" 2021-07-20
OpenJDK Runtime Environment (build 11.0.12+7-post-Debian-2)
OpenJDK 64-Bit Server VM (build 11.0.12+7-post-Debian-2, mixed mode, sharing)
2
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
2
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?