From owner-freebsd-questions@FreeBSD.ORG Tue Jun 24 14:06:08 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 327C337B401 for ; Tue, 24 Jun 2003 14:06:08 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DA4D43F85 for ; Tue, 24 Jun 2003 14:06:06 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h5OL5s1I085839 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 24 Jun 2003 22:06:01 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h5OL5pQL085838; Tue, 24 Jun 2003 22:05:51 +0100 (BST) (envelope-from matthew) Date: Tue, 24 Jun 2003 22:05:51 +0100 From: Matthew Seaman To: "Rev. Joe Doyle Ardent" , freebsd-questions@freebsd.org Message-ID: <20030624210551.GC84673@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , "Rev. Joe Doyle Ardent" , freebsd-questions@freebsd.org References: <20030624190106.03D3737B401@hub.freebsd.org> <20030624194221.GA38455@nebcorp.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Qbvjkv9qwOGw/5Fx" Content-Disposition: inline In-Reply-To: <20030624194221.GA38455@nebcorp.com> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-11.4 required=5.0 tests=AWL,BAYES_00,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: Re: JDK on freebsd? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2003 21:06:08 -0000 --Qbvjkv9qwOGw/5Fx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 24, 2003 at 12:42:21PM -0700, Rev. Joe Doyle Ardent wrote: > Marco Trentini wrote: > >=20 > > Vincent Chen wrote: > > > Hi, all > > >=20 > > > I need a jsp engine on freebsd. One installation on > > > linux from my office works great so far. What's the > > > status and how stable JDK are on freebsd? Which jdk > > > version will you recommend? Is there any ready-to-go > > > package available or I must build it from port? > >=20 > > There is a article suitable for this topic: > > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/index.h= tml > >=20 > This is really fairly rediculous; is this the native FBSD JDK: >=20 > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/x35.html ? >=20 > Why the dependancy on the Linux JDK? Why bother with a "native" JDK if= =20 > you need the Linux one, anyway, and can run it instead (via the=20 > already-required Linux compatibility)? You need a linux JDK to do the first time installation of the native JDK -- both for jdk13 and jdk14. Once you've got a native jdk compiled and installed, you can pkg_delete the linux jdk, and use the native jdk to compile updated versions of itself (via the NATIVE_BOOTSTRAP=3Dyes make flag). One of the really annoying things about java is that you can't compile and install JDK 1.4.1 using any flavour of JDK 1.3.1, so if you want both JDK versions, you've got to go through the whole install process from scratch each time. You need linux-compat as one of the linux JDK's dependencies. Once you have dispensed with the linux JDK you could probably dispense with the whole linux compat stuff as well. The native JDK works just fine without. On the other hand, if you've got a whole row of machines to install jdk's on, so long as you aren't in any sense publishing an unauthorized-by-Sun JDK, there's nothing to stop you going through the download, install linux jdk, download, compile, install native jdk rigmarole on just one of the machines, and then build your own package of the native jdk to install on the other boxes. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --Qbvjkv9qwOGw/5Fx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE++L0vdtESqEQa7a0RAjR/AJ9bcsASd0UgXuUhVgK31CnwVOv9FgCgmbxG PUB1LQG+xvkBAFQ/h6nhfx4= =Tsfq -----END PGP SIGNATURE----- --Qbvjkv9qwOGw/5Fx--