The current version of Java is 17: this has 'long term support' and is
the first to officially support M1 macs.
Mac-friendly installers are now available from https://adoptium.net for
Intel (which they call x64) and M1 (aarch64). Unlike builds available
from jdk.java.net and Zulu these install into Apple-standard locations
and so are found by /usr/bin/java.
Not all CRAN packages work with Java 17: there are additional security
measures and XLConnect excludes it. The maintainers have been informed
so hopefully this will change soon.
On Intel I would keep on using Java 11 (also available from Adoptium,
formerly AdoptOpenJDK). On M1, the Adoptium build of 17 makes things
much cleaner.
--
Brian D. Ripley, rip...@stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac