From owner-freebsd-java@FreeBSD.ORG Fri Jul 25 12:30:14 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0346137B401 for ; Fri, 25 Jul 2003 12:30:14 -0700 (PDT) Received: from mail.ac-net.at (secure.ac-net.at [212.24.125.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4113443FAF for ; Fri, 25 Jul 2003 12:30:12 -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 3B4343FDB for ; Fri, 25 Jul 2003 21:29:50 +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 075943F8E 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) Date: Fri, 25 Jul 2003 21:31:30 +0200 (CEST) Message-Id: <200307251931.h6PJVUpA001747@daemon.li> To: FreeBSD-gnats-submit@freebsd.org From: Josef El-Rayes X-send-pr-version: 3.113 X-GNATS-Notify: X-Virus-Scanned: by AMaViS 0.3.12 with AC-networks extensions cc: freebsd-java@freebsd.org Subject: [patch] add available JDKs to java/install.sgml X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Josef El-Rayes List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2003 19:30:14 -0000 >Submitter-Id: current-users >Originator: Josef El-Rayes >Organization: >Confidential: no >Synopsis: [patch] add available JDKs to java/install.sgml >Severity: non-critical >Priority: low >Category: www >Class: update >Release: FreeBSD 4.8-STABLE i386 >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 ---