Instale o JDK no Rocky Linux 8
$ sudo dnf search jdk 11
$ sudo dnf install java-18-openjdk-devel
$ java -version
[root@thelinuxt ~]# sudo dnf install /home/thelinuxt/Downloads/jdk-8u301-linux-aarch64.rpm
Unsightly Unicorn