How to install Java 11 on macOS 10.14 Mojave?
Yesterday, I updated my MacBook Pro from macOS HS to macOS Mojave.
When I checked my Java version (10.0.2), the pane reported that it was outdated:
I clicked the Update Now button and some routine was started. At the end, I was asked whether I wanted to remove old Java versions, which I confirmed.
To my big surprise, Java was completely removed from the System Preferences pane. So I decided to re-install Java 10 manually.
As it turned out, Java 10 has been deprecated, so instead, I downloaded Java 11 from Oracle.
I ran the set up routine for Java 11 (twice), but to no avail: no Java was installed on my MacBook Pro.
(In the end I installed jre-10.0.2_osx-x64_bin.dmg from https://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase10-4 425482.html, just to have Java 10.0.2 working again.)
So my question is: How to install Java 11 on macOS Mojave?
Java 10.0.2 is installed.
MacBook Pro (Retina, 13-inch, Late 2013), null