54 lines
		
	
	
	
		
			1.8 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			54 lines
		
	
	
	
		
			1.8 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/doc/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>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="jdk">Oracle JDK on FreeBSD</a></h3>
 | |
| 
 | |
| <p>This is the effort of the Java FreeBSD porting project.
 | |
| By the use of patchsets and the JDK source code released by Oracle,
 | |
| this port builds a native JDK for FreeBSD.</p>
 | |
| 
 | |
| <p><code>cd /usr/ports/java/jdk16
 | |
| <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-jdk16
 | |
| <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 "installing applications"</a> for
 | |
| help.</p>
 | |
| 
 | |
| </body>
 | |
| </html>
 |