From owner-freebsd-www@FreeBSD.ORG Fri Jul 25 12:30:20 2003 Return-Path: Delivered-To: freebsd-www@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 524A337B407 for ; Fri, 25 Jul 2003 12:30:20 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90F3A43F75 for ; Fri, 25 Jul 2003 12:30:18 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h6PJUIUp010267 for ; Fri, 25 Jul 2003 12:30:18 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h6PJUI91010266; Fri, 25 Jul 2003 12:30:18 -0700 (PDT) Resent-Date: Fri, 25 Jul 2003 12:30:18 -0700 (PDT) Resent-Message-Id: <200307251930.h6PJUI91010266@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-www@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Josef El-Rayes Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2306537B404 for ; Fri, 25 Jul 2003 12:30:15 -0700 (PDT) Received: from mail.ac-net.at (secure.ac-net.at [212.24.125.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id B945D43F75 for ; Fri, 25 Jul 2003 12:30:13 -0700 (PDT) (envelope-from shammer@daemon.li) Received: from localhost (server.ac-net.at [127.0.0.1]) by mail.ac-net.at (AC-net Mailserver v1.3a) with ESMTP id 15B593F8E for ; Fri, 25 Jul 2003 21:29:52 +0200 (CEST) Received: from daemon.li (dsl-236-60.utaonline.at [212.152.236.60]) by mail.ac-net.at (AC-net Mailserver v1.3a) with SMTP id 7F0B53F91 for ; Fri, 25 Jul 2003 19:29:49 +0000 (UTC) Received: (qmail 1749 invoked from network); 25 Jul 2003 19:31:31 -0000 Received: from localhost (HELO daemon.li) (127.0.0.1) by localhost with SMTP; 25 Jul 2003 19:31:31 -0000 Received: (from root@localhost) by daemon.li (8.12.6/8.12.7/Submit) id h6PJVUpA001747; Fri, 25 Jul 2003 21:31:30 +0200 (CEST) (envelope-from shammer) Message-Id: <200307251931.h6PJVUpA001747@daemon.li> Date: Fri, 25 Jul 2003 21:31:30 +0200 (CEST) From: Josef El-Rayes To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: freebsd-java@FreeBSD.org Subject: www/54863: [patch] add available JDKs to java/install.sgml X-BeenThere: freebsd-www@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Josef El-Rayes List-Id: FreeBSD Project Webmasters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2003 19:30:20 -0000 >Number: 54863 >Category: www >Synopsis: [patch] add available JDKs to java/install.sgml >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-www >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Jul 25 12:30:17 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Josef El-Rayes >Release: FreeBSD 4.8-STABLE i386 >Organization: >Environment: System: FreeBSD daemon.li 4.8-STABLE FreeBSD 4.8-STABLE #8: Tue Jul 22 18:16:23 CEST 2003 root@daemon.li:/usr/obj/usr/src/sys/CUSTOM i386 >Description: Motivated by Christopher Ash's request on freebsd-doc@freebsd.org i added some content about the available jdks in portstree to the page about installation (www/en/java/install.sgml). the current content is outdated and misleading (the reason for ash's mail). >How-To-Repeat: >Fix: --- install.sgml.diff begins here --- --- install.sgml.orig Fri Jul 25 21:19:23 2003 +++ install.sgml Fri Jul 25 21:23:06 2003 @@ -9,18 +9,77 @@ + + + + + + + + + + + + + + +
-

Installing FreeBSD's &jdk; is typically straightforward:

-

cd /usr/ports/java/jdk -
make -
make install -
make clean -

+

When installing Java on FreeBSD you have the choice between +different Java Development Kits:

+
+

Native JDK on FreeBSD

-

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. +

This is the effort of the Java 2 FreeBSD porting project. +By the use of patchsets and the JDK source code released by sun, +this port builds a native JDK for FreeBSD.

-

Many applications in Java need Java Foundation Classes (Swing) to run. JFC can be installed in: /usr/ports/java/jfc +

cd /usr/ports/java/jdk14 +
make install clean +

-

If you should have trouble, you can see the FreeBSD Handbook section on "installing applications" for help. +

Note: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.

+
+

Sun JDK for Linux

+ +

This port installs the Java 2 Developement Kit from Sun which was built for Linux. It will run under FreeBSD using the Linux compatibility.

+ +

cd /usr/ports/java/linux-sun-jdk14 +
make install clean +

+
+ +

IBM JDK for Linux

+ +

This is an implementation of the Java 2 Standard Edition SDK, +version 1.4 for Linux by IBM. It contains IBM's just-in-time +compiler, enhanced with a unique Mixed Mode Interpreter +and a re-engineered Java 2 virtual machine.

+ +

cd /usr/ports/java/linux-ibm-jdk14 +
make install clean +

+
+ +

Blackdown JDK for Linux

+ +

Blackdown Java Developer Kit 1.4.1. It includes the HotSpot +Client and Server VMs, as well as an enhanced version of Java Web +Start 1.2, a Java Plug-In for browsers based on Mozilla and a +Java Plug-In for Netscape 4.x browsers.

+ +

cd /usr/ports/java/linux-blackdown-jdk14 +
make install clean +

+
+ +

Note: Please note that due to the current Sun licensing policy the resulting binaries +can not be distributed and you are only permitted to use/hack it personally. +Due to the same reasons you have to manually fetch the source code and patchset +for FreeBSD.

+ +

If you should have trouble, you can see the +FreeBSD Handbook section on "installing applications" for +help.

--- install.sgml.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: