Sorry, but I don’t know how to run Java on a Mac OS. And is this possible?
macOS Big Sur (11.x) - jre-8u311-macosx-x64.dmg.
Yes it is