Java documentation updates

Based on the following:

Submitted by:	Klaus Küchemann <maciphone2_googlemail.com>
Differential Revision:	https://reviews.freebsd.org/D24003
This commit is contained in:
Greg Lewis 2020-03-15 18:43:03 +00:00
parent 18cf485c9a
commit ede97439aa
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=53986

View file

@ -21,48 +21,40 @@
<p>There are two choices of Java Development Kits on FreeBSD:</p>
<ul>
<li>
<h3>OpenJDK</h3>
<p>The &openjdk; project provides a native open-source
implementation of the &java; SE Platform and is available in
versions 7 and 8 for all supported FreeBSD releases on the i386
and amd64 platforms.</p>
<p>&openjdk; 7 is frequently updated, and it is suggested to refer to a
<a href="https://svnweb.freebsd.org/ports/head/java/openjdk7/Makefile?view=log">revision log</a> for
detailed release history. Additionally, one may choose to review more information at
<a href="https://www.freshports.org/java/openjdk7">FreshPorts</a>.</p>
<p>To install &openjdk; 7 package use the pkg(8) utility:</p>
<p>
<code>pkg install openjdk</code>
<br/>
or
<br/>
<code>cd /usr/ports/java/openjdk7
<br/>make install clean
</code>
implementation of the &java; SE Platform. It is available for all
currently supported FreeBSD releases in the following combinations
of versions (by architecture):
</p>
<p>&openjdk; 8 is frequently updated, and it is suggested to refer to a
<a href="https://svnweb.freebsd.org/ports/head/java/openjdk8/Makefile?view=log">revision log</a> for
<p><b>aarch64</b>: <code>openjdk8</code>, <code>openjdk11</code>, <code>openjdk12</code>, <code>openjdk13</code></p>
<p><b>amd64</b>: <code>openjdk7</code>, <code>openjdk8</code>, <code>openjdk11</code>, <code>openjdk12</code>, <code>openjdk13</code></p>
<p><b>arm6</b>: <code>openjdk8</code></p>
<p><b>arm7</b>: <code>openjdk8</code></p>
<p><b>i386</b>: <code>openjdk7</code>, <code>openjdk8</code>, <code>openjdk11</code>, <code>openjdk12</code>, <code>openjdk13</code></p>
<p><b>powerpc</b>: <code>openjdk8</code></p>
<p><b>powerpc64</b>: <code>openjdk8</code>, <code>openjdk11</code>, <code>openjdk12</code>, <code>openjdk13</code></p>
<p>&openjdk; is frequently updated, and it is suggested to refer to
<a href="https://svnweb.freebsd.org/ports/head/java/">revision logs</a> for
detailed release history. Additionally, one may choose to review more information at
<a href="https://www.freshports.org/java/openjdk8">FreshPorts</a>.</p>
<a href="https://www.freshports.org/search.php?query=openjdk&amp;search=go&amp;num=10&amp;stype=name&amp;method=match&amp;deleted=excludedeleted&amp;start=1&amp;casesensitivity=caseinsensitive">FreshPorts</a>.</p>
<p>To install &openjdk; 8 package use the pkg(8) utility:</p>
<p>To install &openjdk; package use the <a href="&base;/cgi/man.cgi?query=pkg"><tt>pkg</tt></a> utility or the ports system:</p>
<p>
<code>pkg install openjdk8</code>
<br/>
or
<br/>
<code>cd /usr/ports/java/openjdk8
<br/>make install clean
</code>
</p>
<p><code>pkg install openjdk[version]</code></p>
<p>or</p>
<p><code>cd /usr/ports/java/openjdk[version]
<br/>make install clean
</code></p>
<p>where [version] is one of 7, 8, 11, 12, or 13. An example (<code>openjdk11</code>):</p>
<p><code>pkg install openjdk11</code></p>
<p>or</p>
<p><code>cd /usr/ports/java/openjdk11
<br/>make install clean
</code></p>
</li>
<li>
@ -70,6 +62,8 @@
<p>This port installs the Java Development Kit from Oracle which was built for Linux. It will run under FreeBSD using the Linux compatibility.</p>
<p><code>pkg install linux-oracle-jdk18</code></p>
<p>or</p>
<p><code>cd /usr/ports/java/linux-oracle-jdk18
<br/>make install clean
</code></p>
@ -89,6 +83,10 @@
<h2>I want to help by...</h2>
<h3>... fixing bugs or adding new features</h3>
<p>The main repositories for the BSD port of OpenJDK are publically available on Github. Pull requests are welcome. You can find more information on this <a href="https://wiki.freebsd.org/Ports/openjdk_11">Wiki</a></p>
<h3>... testing</h3>
<p>The best thing you can do is download the latest release, install it, and try all your favorite Java applications. If they don't work, see below.</p>