Sdkman-cli: Question: How to install openjdk-8

Created on 17 Dec 2020  路  4Comments  路  Source: sdkman/sdkman-cli

Question

Is it still possible to install old openjdk (e.g. openjdk-8) versions as sdk list java dont show it anymore ?

 Java.net      |     | 17.ea.1      | open    |            | 17.ea.1-open
               |     | 16.ea.28     | open    |            | 16.ea.28-open
               |     | 16.ea.9.lm   | open    |            | 16.ea.9.lm-open
               |     | 16.ea.3.pma  | open    |            | 16.ea.3.pma-open
               |     | 15.0.1       | open    |            | 15.0.1-open
               |     | 14.0.2       | open    |            | 14.0.2-open
               |     | 13.0.2       | open    |            | 13.0.2-open
               |     | 12.0.2       | open    |            | 12.0.2-open
               | >>> | 11.0.2       | open    | installed  | 11.0.2-open
               |     | 10.0.2       | open    |            | 10.0.2-open
               |     | 9.0.4        | open    | installed  | 9.0.4-open

Most helpful comment

In the meantime I installed the AdoptOpenJDK release sdk install java 8.0.275.hs-adpt

All 4 comments

On Windows and 64-Bit Linux it should still be possible to install openjdk-8 by issuing the following command

sdk install java 8.0.265-open

There is an ongoing task to make older versions available indefinitely.

In the meantime I installed the AdoptOpenJDK release sdk install java 8.0.275.hs-adpt

It is recommended to use AdoptOpenJDK for Open JDK, as the Java.net releases are more focused on bleeding edge releases and don't give much attention to updating their older builds.

if you're on arch linux, type sudo pacman -S jdk8-openjdk on your terminal

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ncowles picture ncowles  路  3Comments

WizardMerlin picture WizardMerlin  路  3Comments

dayja78 picture dayja78  路  6Comments

unknowpe picture unknowpe  路  7Comments

OmidTahouri picture OmidTahouri  路  7Comments