|
Lines 9-26
Link Here
|
| 9 |
<table border="0"> |
9 |
<table border="0"> |
| 10 |
<tr> |
10 |
<tr> |
| 11 |
<td> |
11 |
<td> |
| 12 |
<P>Installing FreeBSD's &jdk; is typically straightforward:</P> |
12 |
<p>When installing Java on FreeBSD you have the choice between |
| 13 |
<P><CODE>cd /usr/ports/java/jdk |
13 |
different Java Development Kits:</p> |
| 14 |
<BR>make |
14 |
</td> |
| 15 |
<BR>make install |
15 |
</tr> |
| 16 |
<BR>make clean |
16 |
<tr> |
| 17 |
</CODE></P> |
17 |
<td> |
|
|
18 |
<h3><a name="jdk">Native JDK on FreeBSD</a></h3> |
| 18 |
|
19 |
|
| 19 |
<P>The JDK does not require any dependencies to install. However, if you wish to run any graphics, you will need to have X installed and running. |
20 |
<p>This is the effort of the Java 2 FreeBSD porting project. |
|
|
21 |
By the use of patchsets and the JDK source code released by sun, |
| 22 |
this port builds a native JDK for FreeBSD.</p> |
| 20 |
|
23 |
|
| 21 |
<P>Many applications in Java need Java Foundation Classes (Swing) to run. JFC can be installed in: <CODE>/usr/ports/java/jfc</CODE> |
24 |
<p><code>cd /usr/ports/java/jdk14 |
|
|
25 |
<BR>make install clean |
| 26 |
</code></p> |
| 22 |
|
27 |
|
| 23 |
<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. |
28 |
<p><b>Note:</b>The JDK 1.4 patchset for BSD is currently considered of ALPHA quality. It should be considered a work in progress and use in a production environment is at your own risk.</p> |
|
|
29 |
</td> |
| 30 |
</tr> |
| 31 |
<tr> |
| 32 |
<td> |
| 33 |
<h3><a name="linux-sun-jdk">Sun JDK for Linux</a></h3> |
| 34 |
|
| 35 |
<p>This port installs the Java 2 Developement Kit from Sun which was built for Linux. It will run under FreeBSD using the Linux compatibility.</p> |
| 36 |
|
| 37 |
<p><code>cd /usr/ports/java/linux-sun-jdk14 |
| 38 |
<BR>make install clean |
| 39 |
</code></p> |
| 40 |
</td> |
| 41 |
</tr> |
| 42 |
<tr> |
| 43 |
<td> |
| 44 |
|
| 45 |
<h3><a name="linux-ibm-jdk">IBM JDK for Linux</a></h3> |
| 46 |
|
| 47 |
<p>This is an implementation of the Java 2 Standard Edition SDK, |
| 48 |
version 1.4 for Linux by IBM. It contains IBM's just-in-time |
| 49 |
compiler, enhanced with a unique Mixed Mode Interpreter |
| 50 |
and a re-engineered Java 2 virtual machine.</p> |
| 51 |
|
| 52 |
<p><code>cd /usr/ports/java/linux-ibm-jdk14 |
| 53 |
<BR>make install clean |
| 54 |
</code></p> |
| 55 |
</td> |
| 56 |
</tr> |
| 57 |
<tr> |
| 58 |
<td> |
| 59 |
|
| 60 |
<h3><a name="linux-blackdown-jdk">Blackdown JDK for Linux</a></h3> |
| 61 |
|
| 62 |
<p>Blackdown Java Developer Kit 1.4.1. It includes the HotSpot |
| 63 |
Client and Server VMs, as well as an enhanced version of Java Web |
| 64 |
Start 1.2, a Java Plug-In for browsers based on Mozilla and a |
| 65 |
Java Plug-In for Netscape 4.x browsers.</p> |
| 66 |
|
| 67 |
<p><code>cd /usr/ports/java/linux-blackdown-jdk14 |
| 68 |
<BR>make install clean |
| 69 |
</code></p> |
| 70 |
</td> |
| 71 |
</tr> |
| 72 |
<tr> |
| 73 |
<td> |
| 74 |
|
| 75 |
<p><b>Note:</b> Please note that due to the current Sun licensing policy the resulting binaries |
| 76 |
can not be distributed and you are only permitted to use/hack it personally. |
| 77 |
Due to the same reasons you have to manually fetch the source code and patchset |
| 78 |
for FreeBSD.</p> |
| 79 |
|
| 80 |
<P>If you should have trouble, you can see the <A HREF="../doc/en_US.ISO8859-1/books/handbook/ports.html"> |
| 81 |
FreeBSD Handbook section on "installing applications"</A> for |
| 82 |
help.</P> |
| 24 |
</td> |
83 |
</td> |
| 25 |
</tr> |
84 |
</tr> |
| 26 |
</table> |
85 |
</table> |