The &openjdk; project provides an open-source implementation of the &java;
SE Platform and is available in versions 6 and 7 for all supported
FreeBSD releases on the i386 and amd64 platforms. Both versions can be
installed by building from sources using the FreeBSD Ports Collection
(openjdk6
and openjdk7
, respectively) and
are also distributed as a prebuilt binary package via the FreeBSD mirrors
and can be installed directly using pkg_add(1)
.
&openjdk; is the recommended &java; implementation on FreeBSD. The FreeBSD Foundation is no longer providing supported &java; &jdk; and &jre; packages based on Sun's partner sources. Older packages for &java; &jdk; and &jre; 5.0 and 6.0 are still available below for reference and legacy use only, but are no longer supported.
Further information about downloading the unsupported binaries is available from the FreeBSD Foundation &java; Downloads page.