0
1

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

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

Posted at

はじめに

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

サポート

Java Is Still Free (日本語版)では、”At least through Sept 2025” という記載がある。
しかしRed Hat Enterprise Linux Life Cycle - Red Hat Customer Portalに記載されているRed Hatの保守期間と差が大きすぎる。
またOSのEOLも不明瞭(そのうちELSが出る可能性がある)なため、EOLは未確定。
2024後半から2025年以内、くらいじゃないでしょうか。

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

LOG

インストール

# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
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.4" 2019-07-16
OpenJDK Runtime Environment (build 11.0.4+11-post-Debian-1deb10u1)
OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Debian-1deb10u1, mixed mode, sharing)
0
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?