From owner-freebsd-questions@FreeBSD.ORG Tue Jun 24 15:28:14 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 CCA4437B401 for ; Tue, 24 Jun 2003 15:28:14 -0700 (PDT) Received: from sage.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5480843FD7 for ; Tue, 24 Jun 2003 15:28:13 -0700 (PDT) (envelope-from kline@thought.org) Received: from thought.org (root@tao [10.0.0.247]) by sage.thought.org (8.12.9/8.11.4) with ESMTP id h5OMRx4l059761; Tue, 24 Jun 2003 15:28:05 -0700 (PDT) (envelope-from kline@thought.org) Received: (from kline@localhost) by thought.org (8.12.6/8.11.3) id h5OMS0hk071500; Tue, 24 Jun 2003 15:28:00 -0700 (PDT) (envelope-from kline) Date: Tue, 24 Jun 2003 15:27:59 -0700 From: Gary Kline To: Matthew Seaman , "Rev. Joe Doyle Ardent" , freebsd-questions@freebsd.org Message-ID: <20030624222759.GD70952@tao.thought.org> References: <20030624190106.03D3737B401@hub.freebsd.org> <20030624194221.GA38455@nebcorp.com> <20030624210551.GC84673@happy-idiot-talk.infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030624210551.GC84673@happy-idiot-talk.infracaninophile.co.uk> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 17 years of service to the Unix community User-Agent: Mutt/1.5.3i 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 22:28:15 -0000 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/index.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.html ? > > > > Why the dependancy on the Linux JDK? Why bother with a "native" JDK 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=yes 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? gary -- Gary Kline kline@thought.org www.thought.org Public service Unix