1
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 17をインストール(OS標準)

Last updated at Posted at 2021-08-21

はじめに

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

サポート

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

// OpenJDKの保守状況は20210821時点では不明、というかGeneral Availabilityは来月の予定なので現時点ではいるのは17-ea (Early-Access)

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-17-jdk
... 略

各種確認

# which java
/usr/bin/java

# java -version
openjdk version "17-ea" 2021-09-14
OpenJDK Runtime Environment (build 17-ea+19-Debian-1)
OpenJDK 64-Bit Server VM (build 17-ea+19-Debian-1, mixed mode, sharing)
1
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
1
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?