As part of Gateway 10.1 GA Software requirements, a supported version of AdoptOpenJDK must be installed.
However, Java RPM may be failed to be installed due to some missing dependencies.
API Gateway 10.1 Software form factor
In order to install dependency in automatic, we can use the following command:
# yum localinstall adoptopenjdk-11-hotspot-11.0.11+9-3.x86_64.rpm
By adding localinstall parameter with yum will install the local rpm file as well as search for required rpms (dependencies, etc) on RHN/CentOS or other repositories that are configured and install it for the user.
Reference from RedHAT