I have Arch as a Desktop and have Java installed right from the repos.
I have Ubuntu 20 as my UniFi server with Java installed from the repos.
Of course its openJDK the open sourced version of Java’s standard base. But it works just the same. It’s from Java/Oracle themselves.
Ubuntu 20’s openJDK repo: OpenJDK builds (all archs) : “PPA for OpenJDK uploads (restricted)” team or How To Install Java with Apt on Ubuntu 20.04 | DigitalOcean
