From owner-freebsd-questions@FreeBSD.ORG Sat Aug 5 00:38:36 2006 Return-Path: X-Original-To: questions@freebsd.org 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 BC3E216A4DF for ; Sat, 5 Aug 2006 00:38:36 +0000 (UTC) (envelope-from micahjon@ywave.com) Received: from relay1.av-mx.com (relay1.av-mx.com [137.118.16.126]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C43343D67 for ; Sat, 5 Aug 2006 00:38:32 +0000 (GMT) (envelope-from micahjon@ywave.com) X-Virus-Scan-Time: 0 Received: from [137.118.16.61] (HELO mx0.av-mx.com) by relay1.av-mx.com (CommuniGate Pro SMTP 4.2.10) with SMTP id 339616233 for questions@freebsd.org; Fri, 04 Aug 2006 20:38:32 -0400 Received: (qmail 29912 invoked from network); 5 Aug 2006 00:38:31 -0000 Received: from dsl17146.ywave.com (HELO ?192.168.1.65?) (micahjon@ywave.com@216.227.104.146) by 0 with SMTP; 5 Aug 2006 00:38:31 -0000 X-CLIENT-IP: 216.227.104.146 X-CLIENT-HOST: dsl17146.ywave.com Message-ID: <44D3E886.6010603@ywave.com> Date: Fri, 04 Aug 2006 17:38:30 -0700 From: Micah User-Agent: Thunderbird 1.5.0.5 (X11/20060730) MIME-Version: 1.0 To: Gautham Ganapathy References: <1154644957.16390.5.camel@localhost> <44D2973C.5040501@ywave.com> <1154733145.5551.4.camel@localhost> In-Reply-To: <1154733145.5551.4.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: How to build azureus port with diablo-1.5.0-b00 jdk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Aug 2006 00:38:36 -0000 Gautham Ganapathy wrote: > On Thu, 2006-08-03 at 17:39 -0700, Micah wrote: >> Gautham Ganapathy wrote: >>> Hi >>> >>> I have installed the diablo jdk package downloaded from the freebsd >>> foundation page. Now, when I try to build the azureus port, it also >>> tries to build jdk1.4.2 because log4j depends on that port. How can I >>> get the ports system to use the installed jdk instead of building 1.4.2? >>> I am using freebsd 6.1-release. > >> log4j doesn't specify a java version, so it should work with any. >> azureus, however, is a little more specific and might be the culprit. >> >> You might be able to fix it by setting one of the java knobs in >> make.conf, but since I don't have diablo installed, I couldn't tell you >> which one to set. :( Check /usr/local/etc/javavms to see which java VMs >> are installed and how javavmwrapper refers to diablo, maybe we can >> figure it out from that. >> > > I checked the file. It contains just one line > > /usr/local/diablo-jdk1.5.0/bin/java # DiabloCaffe > > I tried changing the JAVA_BUILD and JAVA_RUN variables in the azureus > Makefile to diablo-jdk and JAVA_VERSION to 1.5, but it did not work. Any > idea what change I need to do to the Makefile. > > Building azureus or log4j both start the jdk-1.4.2 build > > Regards > Gautham > > According to bsd.java.mk and man javavm, I think you want to set JAVA_VENDOR=freebsd, probably in /etc/make.conf. It looks like it defaults to bsdjava. HTH, Micah