Не удается установить OpenJDK 1.8.0_45 через yum в RHEL 7.4
Я пытаюсь установить OpenJDK 1.8.0_45
в моей RHEL 7.4 VM через ням. В настоящее время установлен OpenJDK 1.7. Это вывод релизной версии RHELrpm -qa |grep release
redhat-release-server-7.4-18.el7.x86_64
Что я хочу это
openjdk version "1.8.0_45"`
OpenJDK Runtime Environment (build 1.8.0_45-b13)
OpenJDK 64-Bit Server VM (build 25.45-b02, mixed mode).
Когда я пытался yum install java-1.8.0-openjdk
это сообщение об ошибке, которое я получил:
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Bad id for repo: root@iotaasmon1 yum.repos.d, byte = @ 4
Repository epel is listed more than once in the configuration
Repository epel-debuginfo is listed more than once in the configuration
Repository epel-source is listed more than once in the configuration
No package java-1.8.0-openjdk available.
Error: Nothing to do
OpenJDK 1.8
также не отображается, когда я сделал yum search
,
$ yum search openjdk
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Bad id for repo: root@iotaasmon1 yum.repos.d, byte = @ 4
Repository epel is listed more than once in the configuration
Repository epel-debuginfo is listed more than once in the configuration
Repository epel-source is listed more than once in the configuration
======================================================================================= N/S matched: openjdk ========================================================================================
java-1.7.0-openjdk.x86_64 : OpenJDK Runtime Environment
java-1.7.0-openjdk-headless.x86_64 : The OpenJDK runtime environment without audio and video support
openprops.noarch : An improved java.util.Properties from OpenJDK
rh-thermostat16-thermostat.x86_64 : A monitoring and serviceability tool for OpenJDK
thermostat1-thermostat.x86_64 : A monitoring and serviceability tool for OpenJDK
Name and summary matches only, use "search all" for everything.
Может кто-нибудь сказать мне, как установить или обновить до OpenJDK 1.8.
Пожалуйста, дайте мне знать, если потребуется дополнительная информация.