0
2

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 7にOpenJDK 6(1.6)をインストール(OS標準)

Last updated at Posted at 2019-10-03

はじめに

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

サポート

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

LOG

インストール

# cat /etc/redhat-release
CentOS Linux release 7.7.1908 (Core)

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

各種確認

# which java
/usr/bin/java

# java -version
java version "1.6.0_41"
OpenJDK Runtime Environment (IcedTea6 1.13.13) (rhel-1.13.13.1.el7_3-x86_64)
OpenJDK 64-Bit Server VM (build 23.41-b41, mixed mode)

# yum info java-1.6.0-openjdk
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: ftp.jaist.ac.jp
 * extras: mirror.vastspace.net
 * updates: mirror.nus.edu.sg
Installed Packages
Name        : java-1.6.0-openjdk
Arch        : x86_64
Epoch       : 1
Version     : 1.6.0.41
Release     : 1.13.13.1.el7_3
Size        : 77 M
Repo        : installed
From repo   : base
Summary     : OpenJDK Runtime Environment
URL         : http://icedtea.classpath.org/
License     : ASL 1.1, ASL 2.0, GPL+, GPLv2, GPLv2 with exceptions, LGPL+, LGPLv2, MPLv1.0, MPLv1.1, Public
            : Domain, W3C
Description : The OpenJDK runtime environment.

パッケージ更新状況

# rpm -q -changelog java-1.6.0-openjdk | head -n 20
* Wed Jan 04 2017 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.6.0.41-1.13.13.1
- Update to new 1.13.13 and b41 tarballs to correct TCK failure.
- Resolves: rhbz#1381990

* Tue Jan 03 2017 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.6.0.41-1.13.13.0
- Update to new 1.13.13 tarball with PR3275 and PR3276 fixes.
- Resolves: rhbz#1381990

* Tue Jan 03 2017 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.6.0.41-1.13.13.0
- Update to IcedTea 1.13.13 & OpenJDK 6 b41.
- Fix context for rpath patch following PR3213.
- Resolves: rhbz#1381990

* Mon Sep 05 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.6.0.40-1.13.12.9
- Require a JDK with RH1334465/PR2956 fixed and turn off bootstrapping for Zero architectures.
- Resolves: rhbz#1350047

* Thu Sep 01 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.6.0.40-1.13.12.8
- Set install directories in configure so that @prefix@ is substituted correctly in tapset
- Resolves: rhbz#1350047
0
2
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
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?