From owner-freebsd-java@FreeBSD.ORG Tue Apr 18 08:49:08 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 C57F216A402 for ; Tue, 18 Apr 2006 08:49:08 +0000 (UTC) (envelope-from jbq@anyware-tech.com) Received: from caraldi.com (195-13-58-165.oxyd.net [195.13.58.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4BF743D68 for ; Tue, 18 Apr 2006 08:49:06 +0000 (GMT) (envelope-from jbq@anyware-tech.com) Received: from vision.anyware (10.21.96-84.rev.gaoland.net [84.96.21.10]) by caraldi.com (Postfix) with ESMTP id 2ED8064EF for ; Tue, 18 Apr 2006 10:49:05 +0200 (CEST) Received: by vision.anyware (Postfix, from userid 1021) id C1A7A60F0; Tue, 18 Apr 2006 10:48:58 +0200 (CEST) Date: Tue, 18 Apr 2006 10:48:58 +0200 From: Jean-Baptiste Quenot To: freebsd-java@freebsd.org Message-ID: <20060418084857.GA1715@vision.anyware> Mail-Followup-To: freebsd-java@freebsd.org References: <20060411180145.GP53974@vision.anyware> <20060411222343.GA55418@arabica.esil.univ-mrs.fr> <20060412180028.GB29790@vision.anyware> <20060415004125.GA57315@arabica.esil.univ-mrs.fr> <20060417102456.GA37686@watt.intra.caraldi.com> <20060417184123.GA23044@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060417184123.GA23044@misty.eyesbeyond.com> User-Agent: mutt-ng/devel-r581 (FreeBSD) Subject: Re: Getting JAVA_HOME at runtime X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Apr 2006 08:49:08 -0000 * Greg Lewis: > Yes. It also potentially fails if the machine has installed the > resin2 package but hasn't got the ports tree installed. Right. > Unfortunately I don't have a good solution to that at the > moment. It almost seems like we want a flag or environment > variable that tells javavmwrapper to dump what it found out > rather than actually executing anything. That would be interesting, but can you confirm that the JDK lookup algorithm is implemented both in bsd.java.mk and in javavm? We might want to unify both, for example bsd.java.mk should use the wrapper. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/