
Start with installing Homebrew following the instructions on and install a Java version you like, e.g.: OpenJDK is source-code compatible, and Corretto incorporates bug fixes and performance enhancements in addition to being compatible. There is no advantage to using Oracle Java. If there is a technical reason in the Unifi implementation that somehow requires Oracle Java, that’s even more concerning.ġ000s or 10000s of companies have already moved to OpenJDK or Corretto to avoid the licensing costs of Oracle Java. OpenJDK 11 and OpenJDK 8 are the current long-term support releases.

There are good and better Java distributions, including OpenJDK, AdoptOpenJDK and Amazon AWS Corretto. When Oracle changed the licensing model for Java, the licensing cost and compliance costs for business / commercial users got very expensive. Requiring Oracle Java is a mistake for business users, or any commercial use that requires Oracle Java. Recommended Version 8 Update 281 (filesize: 80.67 MB) They ask you to go to and download the Oracle JRE.

We stopped bundling Java as of UniFi Network 5.11.47. This is after upgrading from an older version. When trying to launch the app, I get an error of Unable to load Java Runtime Environment:
