how to install amazon jdk on centos 7?
I am trying to install the rpm package java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm
on centos 7 OS
.
I have downloaded the rpm java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm
from https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/downloads-list.html
When trying to install using the command
rpm -ivh java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm
I get the following error:
warning: java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID c87f5b1a: NOKEY
error: Failed dependencies:
java-1.8.0-amazon-corretto(x86-64) = 1:1.8.0_192.b12-1.amzn2 is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
libX11.so.6()(64bit) is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
libawt.so()(64bit) is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
libawt_xawt.so()(64bit) is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
libawt_xawt.so(SUNWprivate_1.1)(64bit) is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
libjava.so()(64bit) is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
libjvm.so()(64bit) is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
Any idea how to download the rpm's that are required by java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm
? I tried with yumdownloader but it didn't work.
yumdownloader --destdir=. --resolve java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
* base: ftp.heanet.ie
* extras: ftp.heanet.ie
* updates: ftp.heanet.ie
No Match for argument java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm
Nothing to download
Thank you
linux centos7 redhat rpm corretto
add a comment |
I am trying to install the rpm package java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm
on centos 7 OS
.
I have downloaded the rpm java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm
from https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/downloads-list.html
When trying to install using the command
rpm -ivh java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm
I get the following error:
warning: java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID c87f5b1a: NOKEY
error: Failed dependencies:
java-1.8.0-amazon-corretto(x86-64) = 1:1.8.0_192.b12-1.amzn2 is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
libX11.so.6()(64bit) is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
libawt.so()(64bit) is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
libawt_xawt.so()(64bit) is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
libawt_xawt.so(SUNWprivate_1.1)(64bit) is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
libjava.so()(64bit) is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
libjvm.so()(64bit) is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
Any idea how to download the rpm's that are required by java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm
? I tried with yumdownloader but it didn't work.
yumdownloader --destdir=. --resolve java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
* base: ftp.heanet.ie
* extras: ftp.heanet.ie
* updates: ftp.heanet.ie
No Match for argument java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm
Nothing to download
Thank you
linux centos7 redhat rpm corretto
add a comment |
I am trying to install the rpm package java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm
on centos 7 OS
.
I have downloaded the rpm java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm
from https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/downloads-list.html
When trying to install using the command
rpm -ivh java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm
I get the following error:
warning: java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID c87f5b1a: NOKEY
error: Failed dependencies:
java-1.8.0-amazon-corretto(x86-64) = 1:1.8.0_192.b12-1.amzn2 is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
libX11.so.6()(64bit) is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
libawt.so()(64bit) is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
libawt_xawt.so()(64bit) is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
libawt_xawt.so(SUNWprivate_1.1)(64bit) is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
libjava.so()(64bit) is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
libjvm.so()(64bit) is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
Any idea how to download the rpm's that are required by java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm
? I tried with yumdownloader but it didn't work.
yumdownloader --destdir=. --resolve java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
* base: ftp.heanet.ie
* extras: ftp.heanet.ie
* updates: ftp.heanet.ie
No Match for argument java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm
Nothing to download
Thank you
linux centos7 redhat rpm corretto
I am trying to install the rpm package java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm
on centos 7 OS
.
I have downloaded the rpm java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm
from https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/downloads-list.html
When trying to install using the command
rpm -ivh java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm
I get the following error:
warning: java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID c87f5b1a: NOKEY
error: Failed dependencies:
java-1.8.0-amazon-corretto(x86-64) = 1:1.8.0_192.b12-1.amzn2 is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
libX11.so.6()(64bit) is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
libawt.so()(64bit) is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
libawt_xawt.so()(64bit) is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
libawt_xawt.so(SUNWprivate_1.1)(64bit) is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
libjava.so()(64bit) is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
libjvm.so()(64bit) is needed by java-1.8.0-amazon-corretto-devel-1:1.8.0_192.b12-1.amzn2.x86_64
Any idea how to download the rpm's that are required by java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm
? I tried with yumdownloader but it didn't work.
yumdownloader --destdir=. --resolve java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
* base: ftp.heanet.ie
* extras: ftp.heanet.ie
* updates: ftp.heanet.ie
No Match for argument java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm
Nothing to download
Thank you
linux centos7 redhat rpm corretto
linux centos7 redhat rpm corretto
edited Nov 21 '18 at 14:07
Globe Admin
asked Nov 21 '18 at 13:00
Globe AdminGlobe Admin
738
738
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
There are two packages, one providing the JDK and one providing the JRE. If you want the JDK, you'll also need to install the JRE.
Download both RPMs from Amazon Corretto's downloads page.
Install both simultaneously using yum localinstall:
sudo yum localinstall -y java-1.8.0-amazon-corretto*.rpm
basically i want to download the rpms requred for java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm for offline usage. I know yum install will work . but wants to download all rpms for the java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm on to a file system and use offline.
– Globe Admin
Nov 22 '18 at 10:06
so using yumlocalinstall we can identify which rpms are required for amazon corretto rpms . then we can downloand those rpms using yumdownloader command , and dowonloade them offline then use rpm -vih to install all the rpms .. care must be take to resolve dependencies as rpm command is poor in handling dependences unlike yum
– Globe Admin
Nov 27 '18 at 13:13
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53412617%2fhow-to-install-amazon-jdk-on-centos-7%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
There are two packages, one providing the JDK and one providing the JRE. If you want the JDK, you'll also need to install the JRE.
Download both RPMs from Amazon Corretto's downloads page.
Install both simultaneously using yum localinstall:
sudo yum localinstall -y java-1.8.0-amazon-corretto*.rpm
basically i want to download the rpms requred for java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm for offline usage. I know yum install will work . but wants to download all rpms for the java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm on to a file system and use offline.
– Globe Admin
Nov 22 '18 at 10:06
so using yumlocalinstall we can identify which rpms are required for amazon corretto rpms . then we can downloand those rpms using yumdownloader command , and dowonloade them offline then use rpm -vih to install all the rpms .. care must be take to resolve dependencies as rpm command is poor in handling dependences unlike yum
– Globe Admin
Nov 27 '18 at 13:13
add a comment |
There are two packages, one providing the JDK and one providing the JRE. If you want the JDK, you'll also need to install the JRE.
Download both RPMs from Amazon Corretto's downloads page.
Install both simultaneously using yum localinstall:
sudo yum localinstall -y java-1.8.0-amazon-corretto*.rpm
basically i want to download the rpms requred for java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm for offline usage. I know yum install will work . but wants to download all rpms for the java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm on to a file system and use offline.
– Globe Admin
Nov 22 '18 at 10:06
so using yumlocalinstall we can identify which rpms are required for amazon corretto rpms . then we can downloand those rpms using yumdownloader command , and dowonloade them offline then use rpm -vih to install all the rpms .. care must be take to resolve dependencies as rpm command is poor in handling dependences unlike yum
– Globe Admin
Nov 27 '18 at 13:13
add a comment |
There are two packages, one providing the JDK and one providing the JRE. If you want the JDK, you'll also need to install the JRE.
Download both RPMs from Amazon Corretto's downloads page.
Install both simultaneously using yum localinstall:
sudo yum localinstall -y java-1.8.0-amazon-corretto*.rpm
There are two packages, one providing the JDK and one providing the JRE. If you want the JDK, you'll also need to install the JRE.
Download both RPMs from Amazon Corretto's downloads page.
Install both simultaneously using yum localinstall:
sudo yum localinstall -y java-1.8.0-amazon-corretto*.rpm
answered Nov 21 '18 at 22:50
EricEEricE
362
362
basically i want to download the rpms requred for java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm for offline usage. I know yum install will work . but wants to download all rpms for the java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm on to a file system and use offline.
– Globe Admin
Nov 22 '18 at 10:06
so using yumlocalinstall we can identify which rpms are required for amazon corretto rpms . then we can downloand those rpms using yumdownloader command , and dowonloade them offline then use rpm -vih to install all the rpms .. care must be take to resolve dependencies as rpm command is poor in handling dependences unlike yum
– Globe Admin
Nov 27 '18 at 13:13
add a comment |
basically i want to download the rpms requred for java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm for offline usage. I know yum install will work . but wants to download all rpms for the java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm on to a file system and use offline.
– Globe Admin
Nov 22 '18 at 10:06
so using yumlocalinstall we can identify which rpms are required for amazon corretto rpms . then we can downloand those rpms using yumdownloader command , and dowonloade them offline then use rpm -vih to install all the rpms .. care must be take to resolve dependencies as rpm command is poor in handling dependences unlike yum
– Globe Admin
Nov 27 '18 at 13:13
basically i want to download the rpms requred for java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm for offline usage. I know yum install will work . but wants to download all rpms for the java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm on to a file system and use offline.
– Globe Admin
Nov 22 '18 at 10:06
basically i want to download the rpms requred for java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm for offline usage. I know yum install will work . but wants to download all rpms for the java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm on to a file system and use offline.
– Globe Admin
Nov 22 '18 at 10:06
so using yumlocalinstall we can identify which rpms are required for amazon corretto rpms . then we can downloand those rpms using yumdownloader command , and dowonloade them offline then use rpm -vih to install all the rpms .. care must be take to resolve dependencies as rpm command is poor in handling dependences unlike yum
– Globe Admin
Nov 27 '18 at 13:13
so using yumlocalinstall we can identify which rpms are required for amazon corretto rpms . then we can downloand those rpms using yumdownloader command , and dowonloade them offline then use rpm -vih to install all the rpms .. care must be take to resolve dependencies as rpm command is poor in handling dependences unlike yum
– Globe Admin
Nov 27 '18 at 13:13
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53412617%2fhow-to-install-amazon-jdk-on-centos-7%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown