From owner-freebsd-questions@FreeBSD.ORG Wed Jun 25 01:33:39 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 722DA37B401 for ; Wed, 25 Jun 2003 01:33:39 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C5DB43FFB for ; Wed, 25 Jun 2003 01:30:55 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h5P8Ug1I091216 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 25 Jun 2003 09:30:47 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h5P8TKK6091183; Wed, 25 Jun 2003 09:29:20 +0100 (BST) (envelope-from matthew) Date: Wed, 25 Jun 2003 09:29:20 +0100 From: Matthew Seaman To: Benzi Mizrahi Message-ID: <20030625082920.GB90078@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Benzi Mizrahi , Gary Kline , "Rev. Joe Doyle Ardent" , freebsd-questions@freebsd.org References: <20030624190106.03D3737B401@hub.freebsd.org> <20030624210551.GC84673@happy-idiot-talk.infracaninophile.co.uk> <20030624222759.GD70952@tao.thought.org> <200306250823.46567.vsbenzi@weizmann.ac.il> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wzJLGUyc3ArbnUjN" Content-Disposition: inline In-Reply-To: <200306250823.46567.vsbenzi@weizmann.ac.il> 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) cc: freebsd-questions@freebsd.org cc: "Rev. Joe Doyle Ardent" 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: Wed, 25 Jun 2003 08:33:39 -0000 --wzJLGUyc3ArbnUjN Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 25, 2003 at 08:23:46AM +0300, Benzi Mizrahi wrote: > =E1=E9=E5=ED =F8=E1=E9=F2=E9, 25 =E1=E9=E5=F0=E9 2003, 01:27, Gary Kline = =EB=FA=E1: > > On Tue, Jun 24, 2003 at 10:05:51PM +0100, Matthew Seaman wrote: > > > On Tue, Jun 24, 2003 at 12:42:21PM -0700, Rev. Joe Doyle Ardent wrote: > > > > Marco Trentini wrote: > > > > > Vincent Chen wrote: > > > > > > Hi, all > > > > > > > > > > > > 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? > > > > > > > > > > There is a article suitable for this topic: > > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/i= ndex > > > > >.html > > > > > > > > This is really fairly rediculous; is this the native FBSD JDK: > > > > > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/x35= =2Ehtm > > > >l ? > > > > > > > > Why the dependancy on the Linux JDK? Why bother with a "native" JD= K if > > > > you need the Linux one, anyway, and can run it instead (via the > > > > 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. > > > > It's likely just me. But on one of three BSD servers I have > > java (linux) working happily with mozilla. The other two may > > have upgrade/dependency probledms... or else gremlins > > that say "Huh?" regarding jdk-131. > > > > There are probably dozens of us, if not billions, who would > > profit from a step-by-step tutorial style write up on this. > > > > Dunno about anyone else, but at least I would love to shuck > > the linux stuff and go native FreeBSD. Anybody willing? > > >=20 > same here... Hmmm... I keep thinking that I should write up some of the stuff I put out on this list more formally and stick it on a web site somewhere. Wotthehell, I'm willing to give this a go this weekend. But first, what exactly is missing from the referenced article? http://www.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/index.h= tml This seems pretty comprehensive to me, although it could do with a few small updates to cover the latest versions of java and tomcat. Any other topics? Getting the java plugin to work with Mozilla should be mentioned, but that's one of those things where it should "just work" by installing the jdk13 port, so it's hard to know what else to say on the subject. 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 --wzJLGUyc3ArbnUjN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE++V1gdtESqEQa7a0RAmLeAJ0fo0/frBbJ2YeqcFCVtbBzGlv0bgCeNQcM 8ysHi1S6d98JGrAli3rv/qI= =Trjo -----END PGP SIGNATURE----- --wzJLGUyc3ArbnUjN--