Java Se Development Kit 8 64 Bit Free Download

With that said, this worked fine for myself. I was not able to replicate your issue with a standard installation of Rocky Linux. In my case, I used the XFCE desktop. GNOME (Workstation) and others should work the same way.