How to install openjdk “1.8.0_20-b26” on amazon Linux?

Question:

I’m pretty new to Linux and I need to install openjdk 1.8.0_20-b26 (that specific version) on a machine in AWS.
I’ll appreciate if you could give some tips because it seems like using yum always install the latest one and trying to use --showduplicatesyields nothing.

I’ll appreciate your help.

Answer:

Open JDK

Review the available JDK from your repo

and so download the specific version you need

for the JRE

including the JDK

Oracle JDK

This releases is also known as JDK 8u20 (http://www.oracle.com/technetwork/java/javase/8all-relnotes-2226344.html#R180_20)

The full version string for this update release is 1.8.0_20-b26 (where “b” means “build”). The version number is 8u20..

you can download this specific version using

Leave a Reply