doc/en_US.ISO8859-1/htdocs/java/install.xml
Jason Helfman d104b86a5d - drop announcements/newsflash in favor of pointing to svn/freshports
- update information on installation, and include pkg install instructions
- shift java/linux-sun-jdk16  java/linux-sun-jdk17 for oracle jdk
- update release information
- drop links as these are very old and java@ would rather bring back with
  more relevant content

Reviewed by:	glewis@ (java)
Approved by:	wblock (mentor)
2014-01-26 04:10:51 +00:00

54 lines
1.7 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//FreeBSD//DTD XHTML 1.0 Transitional-Based Extension//EN"
"http://www.FreeBSD.org/XML/share/xml/xhtml10-freebsd.dtd" [
<!ENTITY title "FreeBSD &java; Project: How To Install">
]>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>&title;</title>
<cvs:keyword xmlns:cvs="http://www.FreeBSD.org/XML/CVS">$FreeBSD$</cvs:keyword>
</head>
<body class="navinclude.developers">
<p>When installing Java on FreeBSD you have the choice between
different Java Development Kits:</p>
<h3><a name="openjdk">OpenJDK on FreeBSD</a></h3>
<p>To install &openjdk; 6 package use the pkg(8) utility:</p>
<p><code>pkg install openjdk6
</code></p>
<p>More information on using pkg(8) is available in the
<a href="../doc/en_US.ISO8859-1/books/handbook/pkgng-intro.html">
FreeBSD Handbook</a>.
</p>
<p>This is a native port of OpenJDK to FreeBSD.</p>
<p><code>cd /usr/ports/java/openjdk6
<br/>make install clean
</code></p>
<h3><a name="linux-sun-jdk">Oracle JDK for Linux</a></h3>
<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>cd /usr/ports/java/linux-sun-jdk17
<br/>make install clean
</code></p>
<p><b>Note:</b> 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. Due to the same reasons you have to
manually fetch the source code and patchset for FreeBSD.</p>
<p>If you should have trouble, you can see the <a href="../doc/en_US.ISO8859-1/books/handbook/ports.html">
FreeBSD Handbook section on &quot;installing applications&quot;</a> for
help.</p>
</body>
</html>