How can I instruct yum to install a specifc version of OpenJDK

aceji :

I trying to install openjdk in the redhat server, how can I install the specified version?

The version I want to install is: 11.0.4

The version installed using the following command is 11.0.6

yum install java-11-openjdk-devel
aceji :

Worked with

yum --showduplicates list java-11-openjdk-devel

yum install java-11-openjdk-devel-11.0.4.11-1.el7_7

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=358309&siteId=1