Amazon Corretto 8 (Java 8) on AWS Amazon Linux Graviton and x64

Home » Uncategorized » Amazon Corretto 8 (Java 8) on AWS Amazon Linux Graviton and x64
Uncategorized No Comments

This version works well in Arm-based AWS Graviton2 processors (e.g. r6g): Corretto-8.302.08.1 (build 25.302-b08)

4/2/2022: tested newer version e.g. “Corretto-8.322.06.3 (build 25.322-b06)” but for some reason our dbserver will not accept client connection – JBoss remoting socket timeout error. Same error with web apps – read timed out for some unknown reason?

To install v302 do the following…

Step 1: uninstall Corretto using “sudo yum remove java-1.8.0-amazon-corretto”.

Step 2: Donwload using “wget https://corretto.aws/downloads/resources/8.302.08.1/java-1.8.0-amazon-corretto-devel-1.8.0_302.b08-1.aarch64.rpm”.

Step 3: Install using “sudo yum install java-1.8.0-amazon-corretto-devel-1.8.0_302.b08-1.aarch64.rpm”. This should install in “/usr/lib/jvm/java-1.8.0-amazon-corretto”. NOTE – this is a different directory to the one installed by “yum” which is “/usr/lib/jvm/java-1.8.0-amazon-corretto.aarch64”.

v8.302 x64 use this RPM below:

https://corretto.aws/downloads/resources/8.302.08.1/java-1.8.0-amazon-corretto-devel-1.8.0_302.b08-1.x86_64.rpm

For ALL versions see the release page here.