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:

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!)

The support for OpenJDK 11 is being worked on. As for running Oracle (Linux) Java - it is possible, but this JRE is unstable. For instance, installing MATLAB using it crashes the installer randomly during the process. However, your mileage may wary.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.