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

CentOS 6にOpenJDK 7(1.7)をインストール(OS標準)

Last updated at Posted at 2019-10-03

はじめに

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

サポート

本手法で導入した場合、CentOSはRHELのクローンなのでOpenJDK ライフサイクルおよびサポートポリシー - Red Hat Customer Portalより、2020-06がEOLになると思われる。
それ以降に報告された脆弱性や不具合への対応は実施されない可能性がある。

LOG

インストール

# cat /etc/redhat-release
CentOS release 6.10 (Final)

# yum install -y java-1.7.0-openjdk which
... 略

各種確認

# which java
/usr/bin/java

# java -version
java version "1.7.0_231"
OpenJDK Runtime Environment (rhel-2.6.19.2.el6_10-x86_64 u231-b01)
OpenJDK 64-Bit Server VM (build 24.231-b01, mixed mode)

# yum info java-1.7.0-openjdk
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
* base: ftp-srv2.kddilabs.jp
* extras: ftp-srv2.kddilabs.jp
* updates: ftp-srv2.kddilabs.jp
Installed Packages
Name        : java-1.7.0-openjdk
Arch        : x86_64
Epoch       : 1
Version     : 1.7.0.231
Release     : 2.6.19.2.el6_10
Size        : 93 M
Repo        : installed
From repo   : updates
Summary     : OpenJDK Runtime Environment
URL         : http://openjdk.java.net/
License     : ASL 1.1 and ASL 2.0 and BSD and BSD with advertising and GPL+ and GPLv2 and GPLv2 with
        : exceptions and IJG and LGPLv2+ and MIT and MPLv1.1 and MPLv2.0 and Public Domain and W3C and
        : zlib
Description : The OpenJDK runtime environment.
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?