From owner-svn-doc-all@FreeBSD.ORG Wed Apr 1 20:03:11 2015
Return-Path: 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
- ( &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. Getting &java; for FreeBSD describes
- how to install &java; There are two choices of Java Development Kits on FreeBSD: The &openjdk; project provides a native 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 using the
+ usual methods of package installation ( To install &openjdk; 7 package use the pkg(8) utility:
- &openjdk; 7 is frequently updated, and it is suggested to refer to a
+ &openjdk; 7 is frequently updated, and it is suggested to refer to a
revision log for
detailed release history. Additionally, one may choose to review more information at
- FreshPorts.
- openjdk6
and openjdk7
, respectively) and
- are also distributed as a prebuilt binary package via the FreeBSD mirrors
- and can be installed directly using pkg(8)
.Getting Java
-
+
+
OpenJDK
+
+ openjdk6
and
+ openjdk7
)pkg install openjdk7
+
+ or
+
+ cd /usr/ports/java/openjdk7
+
+
make install clean
+
- &openjdk; 6 is frequently updated, and it is suggested to refer to a +
&openjdk; 6 is frequently updated, and it is suggested to refer to a revision log for detailed release history. Additionally, one may choose to review more information at - FreshPorts. -
+ FreshPorts. + + +This port installs the Java Development Kit from Oracle which was built for Linux. It will run under FreeBSD using the Linux compatibility.
+ +cd /usr/ports/java/linux-sun-jdk17
+
make install clean
+
Note: Please note that due to the current licensing policy the + Oracle JDK on FreeBSD binaries can not be distributed and you are only + permitted to use them personally. For the same reason, the sources + must be fetched manually.
+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.
+