When I look to my up-to-date Ports collection:
cd /usr/ports/java && ls -d openjdk*
… I see only versions 6, 7, and 8 of Java in the OpenJDK releases:
openjdk6 openjdk6-jre openjdk7 openjdk7-jre openjdk8 openjdk8-jre
➥ How does one obtain and install an open-source versions of the Java platform later than 8? That would be versions 9, 10, 11, or 12 of Java? Preferably at least 11, that being the LTS (long-term support) release.
The FreeBSD Java® Project page is suspiciously quiet about anything since Java 8.
I know there are various sources for Java such as:
- Azul Systems
- AdoptOpenJDK
- OpenJ9 by Eclipse
- IBM
- Oracle
- Red Hat
- Amazon Corretto
But none of these offer a BSD-specific release, not that I could find.
Use Java for Linux?
Some of those sources do offer Linux releases. Does Java for Linux run on a FreeBSD machine using the Linux® Binary Compatibility feature?
Is that the usual way to run Java on FreeBSD nowadays?
Previous Questions on this topic
My question here is an updated version of questions such as these listed below. (Much has changed in the Java world since these were posted!)