From owner-freebsd-java@FreeBSD.ORG Thu Sep 9 12:57:10 2004 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 7F48816A4CE for ; Thu, 9 Sep 2004 12:57:10 +0000 (GMT) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61F4743D5F for ; Thu, 9 Sep 2004 12:57:09 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1])i89Cv7oT075757; Thu, 9 Sep 2004 14:57:07 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost)i89Cv15b075756; Thu, 9 Sep 2004 14:57:01 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: arabica.esil.univ-mrs.fr: rv set sender to herve.quiroz@esil.univ-mrs.fr using -f Date: Thu, 9 Sep 2004 14:57:01 +0200 From: Herve Quiroz To: Mark Van Orman Message-ID: <20040909125701.GA75588@arabica.esil.univ-mrs.fr> Mail-Followup-To: Mark Van Orman , freebsd-java@freebsd.org References: <017301c495e8$a009e1d0$1502a8c0@mobileone> <1094678765.325.1.camel@fast.mmercer.com> <018901c495eb$6ff29ac0$1502a8c0@mobileone> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <018901c495eb$6ff29ac0$1502a8c0@mobileone> User-Agent: Mutt/1.4.2.1i cc: freebsd-java@freebsd.org Subject: Re: ports: jdk13 vs diablo-jdk13 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2004 12:57:10 -0000 Mark, Actually, the Java ports do not depend explicitely on diablo-jdk. At least not on FreeBSB 5+. It is the case on FreeBSD 4 though so I imagine that this is the system you are running. For future Java ports you want to install, I suggest you add this statement in /etc/make.conf: JAVA_PREFERRED_PORTS= JAVA_PORT_NATIVE_BSDJAVA_JDK_1_4 This way, this particular JDK would be chosen before any other while a port is trying to pick a JDK to depend on (provided, of course, that jdk14 suits the needs of the port). Anyway, if you happen to have jdk14 installed before installing any Java port, it will be chosen even when you don't override JAVA_PREFERRED_PORTS. Indeed, the ports system will use preferrably any JDK that is already installed and that suits the needs of the port. More information on this subject in Mk/bsd.java.mk... Herve On Wed, Sep 08, 2004 at 04:33:09PM -0500, Mark Van Orman wrote: > Thanks Michael. > > It's really impractical that they have it this way. A lot of the java > ports are dependent on the diablo-jdk port and not the vanilla jdk. Now that > I've already installed the vanilla jdk I'll have to also install the diablo > port. The vanilla jdk I installed is 14, so all ports will actually use the > older (1.3) diablo implementation if I do install it. > > Is there a way to make the ports use the vanilla 1.4 implementation > instead of the diablo 1.3 now that I have it installed?