OpenJDK

The OpenJDK port is a joint venture between FreeBSD & OpenBSD. Which is why it's called bsd-port. The port is developed and kept up to date on Github. Each major version is maintained in it's own repository under https://github.com/github.com/battleblow. From OpenJDK 24 and on, the FreeBSD ports are sourced from our own repository on Github, which again is updated from the main battleblow repositories.

The FreeBSD ports tree contains ports for all the OpenJDK LTS version, as well as the latest current version. Non-LTS versions will be deprecated about a year after release, depending on whether they contain any known unfixed vulnerabilities.

The currently maintained version are:

While actually ' wanted to report on (too many) details here, 'just discovering that it will be more profitable for you to pick up the details where they are being processed:

You will get to know a very open-minded and friendly, extremely experienced and very detail-focused team here :

https://github.com/battleblow/jdk

the BSD-port is hosted as a GitHub-fork of OpenJDK .

openjdk is not self-contained, which means that you'll always need to create an initial so called bootstrap-jdk if you want to port to a new OS/platform/architecture. the bootstrap-jdk can be from the same jdk-version or from the one before. There are bootstrap-jdks for jdk8, jdk11 and jdk17. To build jdk18 and above, the previous jdk version is required. The makefile will automatically detect an installed compatible (system-linked), bootstrappable jdk. But what is automatic? If not system-linked you can choose your preferred bootstrap-version in the configure-file. First make yourself familiar with openjdk-configuration optional and necessary configure-arguments:

https://github.com/openjdk/jdk/blob/master/doc/building.md

While it is clear, of course, that we all know the java programming language, as a port-developer you will not be surprised that you are usually in the hotspot directory for a jdk-port (which is not a java program) , So don't be surprised if you (please carefully) will get in touch with e.g. asm-code instead of java-code ;-)

if you haven't fallen asleep while reading or maybe already knew that anyway :-), start now boostrapping to your new architecture/platform/OS and add/remove/test/link features in your configure- file..

Please first send general questions / suggestions to:

freebsd-java@freebsd.org

while you can make a git- PR if you have new features available and while you can send issues/feature-requests described in technical detail of course here :

https://github.com/battleblow/jdk17u/issues

We look forward to getting to know you

Ports/openjdk (last edited 2026-10-24T09:26:53+0000 by HaraldEilertsen)